* src/threads/threads-common.c (threads_print_stacktrace): Removed
authortwisti <none@none>
Thu, 5 Apr 2007 00:14:57 +0000 (00:14 +0000)
committertwisti <none@none>
Thu, 5 Apr 2007 00:14:57 +0000 (00:14 +0000)
!ENABLE_THREADS code, since this file is only compiled with
ENABLE_THREADS.

src/threads/threads-common.c

index 4016de79852ab287fc83573a1804f9b8f3e71196..739a32a55b83fa007b3c49e22f7716b53eb8de6a 100644 (file)
@@ -211,13 +211,9 @@ void threads_print_stacktrace(threadobject *thread)
 
        dumpsize = dump_size();
 
-       /* create a stacktrace for the current thread */
+       /* create a stacktrace for the passed thread */
 
-#if defined(ENABLE_THREADS)
        sfi = thread->_stackframeinfo;
-#else
-       sfi = _no_threads_stackframeinfo;
-#endif
 
        stb = stacktrace_create(sfi);