Fix a "mixed decls and code" warning.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Sun, 21 Jul 2013 17:56:06 +0000 (19:56 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Sun, 21 Jul 2013 17:56:06 +0000 (19:56 +0200)
mono/utils/mono-hwcap-arm.c

index 7059938fb575840c66a54f14b69663d36f8eb9d4..9812aa9350be47bbb3931b5f1c4c7648b177fd7d 100644 (file)
@@ -73,16 +73,12 @@ mono_hwcap_arch_init (void)
                        }
 
                        if (!strncmp (line, "Features", 8)) {
-                               char *thumb = strstr (line, "thumb");
-
-                               if (thumb)
+                               if (strstr (line, "thumb"))
                                        mono_hwcap_arm_has_thumb = TRUE;
 
                                /* TODO: Find a way to detect Thumb 2. */
 
-                               char *vfp = strstr (line, "vfp")
-
-                               if (vfp)
+                               if (strstr (line, "vfp"))
                                        mono_hwcap_arm_has_vfp = TRUE;
 
                                continue;