Skip to content
Snippets Groups Projects
user avatar
Jeroen Hofstee authored
Clang interpretes an if condition like  "if ((a = b) == NULL)
as it tries to assign a value in a statement. Hence if you do
"if ((something)) it warns you that you might be confused.
Hence drop the double braces for plane if statements.

Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
46f46fd4
History