From ff449c57c586916e689eaa4be27a84942cef884b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 25 May 2014 09:58:14 +0200 Subject: update and fix build --- package/ltrace/patches/patch-handle_event_c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 package/ltrace/patches/patch-handle_event_c (limited to 'package/ltrace/patches/patch-handle_event_c') diff --git a/package/ltrace/patches/patch-handle_event_c b/package/ltrace/patches/patch-handle_event_c deleted file mode 100644 index c40853052..000000000 --- a/package/ltrace/patches/patch-handle_event_c +++ /dev/null @@ -1,19 +0,0 @@ ---- ltrace-0.7.3.orig/handle_event.c 2013-02-05 12:05:39.000000000 +0100 -+++ ltrace-0.7.3/handle_event.c 2013-10-16 11:29:03.000000000 +0200 -@@ -533,6 +533,7 @@ calc_time_spent(Process *proc) { - - static void - handle_sysret(Event *event) { -+ __attribute__((unused))unsigned d; - debug(DEBUG_FUNCTION, "handle_sysret(pid=%d, sysnum=%d)", event->proc->pid, event->e_un.sysnum); - if (event->proc->state != STATE_IGNORED) { - if (opt_T || options.summary) { -@@ -544,7 +545,7 @@ handle_sysret(Event *event) { - event->e_un.sysnum)); - - assert(event->proc->callstack_depth > 0); -- unsigned d = event->proc->callstack_depth - 1; -+ d = event->proc->callstack_depth - 1; - assert(event->proc->callstack[d].is_syscall); - callstack_pop(event->proc); - } -- cgit v1.2.3