diff options
Diffstat (limited to 'main/xen/xen-gcc-4.6-Werror-fix.patch')
-rw-r--r-- | main/xen/xen-gcc-4.6-Werror-fix.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/main/xen/xen-gcc-4.6-Werror-fix.patch b/main/xen/xen-gcc-4.6-Werror-fix.patch deleted file mode 100644 index b04ae9cae8..0000000000 --- a/main/xen/xen-gcc-4.6-Werror-fix.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- ./tools/python/xen/lowlevel/checkpoint/libcheckpoint.c.orig -+++ ./tools/python/xen/lowlevel/checkpoint/libcheckpoint.c -@@ -820,12 +820,10 @@ - - static void stop_suspend_thread(checkpoint_state* s) - { -- int err; -- - s->done = 1; - -- err = sem_post(&s->resumed_sem); -+ (void)sem_post(&s->resumed_sem); - -- err = pthread_join(s->suspend_thr, NULL); -+ (void)pthread_join(s->suspend_thr, NULL); - s->suspend_thr = 0; - } ---- ./tools/python/xen/lowlevel/netlink/libnetlink.c.orig -+++ ./tools/python/xen/lowlevel/netlink/libnetlink.c -@@ -433,7 +433,7 @@ - nladdr.nl_groups = 0; - - while (1) { -- int err, len, type; -+ int err, len; - int l; - - status = fread(&buf, 1, sizeof(*h), rtnl); -@@ -448,7 +448,6 @@ - return 0; - - len = h->nlmsg_len; -- type= h->nlmsg_type; - l = len - sizeof(*h); - - if (l<0 || len>sizeof(buf)) { |