summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/lockprocess.cc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-03-03 20:52:07 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-03-03 20:52:46 +0100
commite9785ee7aaad48b833c84b4b57a95d8ef83fb90f (patch)
treeb6894eb0f6959f6af1ed853bec3cea6d1ab72c36 /kdesktop/lock/lockprocess.cc
parente39534e8510d8bcdd81f94f014b76778748da573 (diff)
downloadtdebase-e9785ee7aaad48b833c84b4b57a95d8ef83fb90f.tar.gz
tdebase-e9785ee7aaad48b833c84b4b57a95d8ef83fb90f.zip
Reapply commit 936d3cec inadvertently reverted in de7e5867
Diffstat (limited to 'kdesktop/lock/lockprocess.cc')
-rw-r--r--kdesktop/lock/lockprocess.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index c08c4d424..288541ff9 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -137,6 +137,7 @@ static Atom gXA_SCREENSAVER_VERSION;
void print_trace()
{
+#ifdef WITH_KDESKTOP_LOCK_BACKTRACE
void *array[10];
size_t size;
char **strings;
@@ -152,6 +153,7 @@ void print_trace()
}
free (strings);
+#endif
}
static void segv_handler(int)