[ros-diffs] [sedwards] 16333: silence some warnings and break it even more

sedwards at svn.reactos.com sedwards at svn.reactos.com
Wed Jun 29 22:13:58 CEST 2005


silence some warnings and break it even more
Modified: trunk/reactos/lib/dbghelp/stack.c
Modified: trunk/reactos/lib/dbghelp/stackframe.h
  _____  

Modified: trunk/reactos/lib/dbghelp/stack.c
--- trunk/reactos/lib/dbghelp/stack.c	2005-06-29 20:03:12 UTC (rev
16332)
+++ trunk/reactos/lib/dbghelp/stack.c	2005-06-29 20:13:51 UTC (rev
16333)
@@ -39,6 +39,7 @@

 
 enum st_mode {stm_start, stm_32bit, stm_16bit, stm_done};
 
+#if 0
 static const char* wine_dbgstr_addr(const ADDRESS* addr)
 {
     if (!addr) return "(null)";
@@ -56,6 +57,7 @@
         return "unknown";
     }
 }
+#endif
 
 /* indexes in Reserved array */
 #define __CurrentMode     0
  _____  

Modified: trunk/reactos/lib/dbghelp/stackframe.h
--- trunk/reactos/lib/dbghelp/stackframe.h	2005-06-29 20:03:12 UTC
(rev 16332)
+++ trunk/reactos/lib/dbghelp/stackframe.h	2005-06-29 20:13:51 UTC
(rev 16333)
@@ -69,6 +69,11 @@

 
 #include <poppack.h>
 
+static inline int MapSL(int size)
+{
+return -1;
+}
+
 #define CURRENT_STACK16
((STACK16FRAME*)MapSL(NtCurrentTeb()->cur_stack))
 #define CURRENT_DS           (CURRENT_STACK16->ds)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050629/bea8e794/attachment.html


More information about the Ros-diffs mailing list