]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/mc_ignore.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Initial support MC record/replay
[simgrid.git] / src / mc / mc_ignore.c
index 8ee35e5d8ca2ccebe797d0ae083ec0a0bb90b388..1f6dd21cee7f74984fa2aecf5eee4895db8adcc4 100644 (file)
@@ -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;