Replace "if (x) free (x)" with "free (x)", opcodes
[deliverable/binutils-gdb.git] / opcodes / tic4x-dis.c
index a99b52a7ad01a329bc2cdc329d261ab4a9ec372c..683f22e50fafed7081c32f861979e0b0ea7cd3a4 100644 (file)
@@ -695,16 +695,10 @@ tic4x_disassemble (unsigned long pc,
       tic4x_version = info->mach;
       /* Don't stash anything from a previous call using a different
         machine.  */
-      if (optab)
-       {
-         free (optab);
-         optab = NULL;
-       }
-      if (optab_special)
-       {
-         free (optab_special);
-         optab_special = NULL;
-       }
+      free (optab);
+      optab = NULL;
+      free (optab_special);
+      optab_special = NULL;
       registernames[REG_R0] = NULL;
     }
 
This page took 0.022803 seconds and 4 git commands to generate.