icons/undo.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 159
7afedbbefeb0
child 730
9f5ede4c84c1
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