icons/intersector.png

Tue, 22 Oct 2013 13:47:41 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Tue, 22 Oct 2013 13:47:41 +0300
changeset 523
a12e36f2db5f
parent 178
bc30a6d59f7c
permissions
-rw-r--r--

enclosed the assert replacement in braces. In release mode, the assert is replaced with nothing and there's a little bit of code in addObjectDialog which uses it as a statement in an one-line if(). With the assert disappearing in release builds this triggered a GCC warning, as the if would be left without a body.

(binary:image/png)

mercurial