Skip to content
Snippets Groups Projects
Commit 46f46fd4 authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini
Browse files

jffs2:jffs2_1pass.c: remove double braces


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>
parent 2716077c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment