Fix warnings.
authorZoltan Varga <vargaz@gmail.com>
Tue, 13 Aug 2013 01:32:17 +0000 (03:32 +0200)
committerZoltan Varga <vargaz@gmail.com>
Tue, 13 Aug 2013 01:34:06 +0000 (03:34 +0200)
mono/mini/aot-compiler.c [changed mode: 0644->0755]
mono/mini/debugger-agent.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 094d3a2..b17b69d
@@ -4493,8 +4493,8 @@ emit_and_reloc_code (MonoAotCompile *acfg, MonoMethod *method, guint8 *code, gui
                        mono_debug_symfile_free_location (loc);
                }
 
-#ifdef MONO_ARCH_AOT_SUPPORTED
                skip = FALSE;
+#ifdef MONO_ARCH_AOT_SUPPORTED
                if (patch_info && (patch_info->ip.i == i) && (pindex < patches->len)) {
                        start_index = pindex;
 
old mode 100644 (file)
new mode 100755 (executable)
index 30ce3bb..18c6ea5
@@ -3494,6 +3494,7 @@ event_to_string (EventKind event)
        case EVENT_KIND_USER_LOG: return "USER_LOG";
        default:
                g_assert_not_reached ();
+               return "";
        }
 }