[mono/mono] e028273c: Fixed a some compiler warnings
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000141dce08970-c05c2635-9c08-4bac-8bac-73f283295754-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/c17e2527d150...e028273cff67
Commit: e028273cff67575eac27e50b63b87d8c91bc6e87
Author: Jeffrey Stedfast <[email protected]> (jstedfast)
Date: 2013-10-21 21:15:02 GMT
URL: https://github.com/mono/mono/commit/e028273cff67575eac27e50b63b87d8c91bc6e87
Fixed a some compiler warnings
Changed paths:
M mono/mini/aot-runtime.c
M mono/utils/mono-semaphore.c
Modified: mono/mini/aot-runtime.c
===================================================================
@@ -2748,7 +2748,7 @@
int method_index, table_len;
guint32 token;
MonoAotModule *amodule = image->aot_module;
- MonoMethod *method;
+ MonoMethod *method = NULL;
MonoJitInfo *jinfo;
guint8 *code, *ex_info, *p;
guint32 *table;
Modified: mono/utils/mono-semaphore.c
===================================================================
@@ -33,7 +33,10 @@
# define WAIT_BLOCK(a,b) sem_timedwait (a, b)
# endif
+#ifndef NSEC_PER_SEC
#define NSEC_PER_SEC 1000000000
+#endif
+
int
mono_sem_timedwait (MonoSemType *sem, guint32 timeout_ms, gboolean alertable)
{
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches