projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2719711
)
Fix a "mixed decls and code" warning.
author
Alex Rønne Petersen
<alexrp@xamarin.com>
Sun, 21 Jul 2013 17:56:06 +0000
(19:56 +0200)
committer
Alex Rønne Petersen
<alexrp@xamarin.com>
Sun, 21 Jul 2013 17:56:06 +0000
(19:56 +0200)
mono/utils/mono-hwcap-arm.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-hwcap-arm.c
b/mono/utils/mono-hwcap-arm.c
index 7059938fb575840c66a54f14b69663d36f8eb9d4..9812aa9350be47bbb3931b5f1c4c7648b177fd7d 100644
(file)
--- a/
mono/utils/mono-hwcap-arm.c
+++ b/
mono/utils/mono-hwcap-arm.c
@@
-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;