From: Martin Quinson Date: Thu, 9 Oct 2014 19:26:07 +0000 (+0200) Subject: add parenthesis to shut up a useless warning X-Git-Tag: v3_12~760^2~70 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/225476182e5558b35f3e22f3fa6dcf52af1dec28 add parenthesis to shut up a useless warning --- diff --git a/src/mc/mc_ignore.c b/src/mc/mc_ignore.c index 8ee35e5d8c..1f6dd21cee 100644 --- a/src/mc/mc_ignore.c +++ b/src/mc/mc_ignore.c @@ -225,7 +225,7 @@ static void mc_ignore_local_variable_in_scope(const char *var_name, // If the current subprogram matche the given name: if (!subprogram_name || - subprogram->name && strcmp(subprogram_name, subprogram->name) == 0) { + (subprogram->name && strcmp(subprogram_name, subprogram->name) == 0)) { // Try to find the variable and remove it: int start = 0;