dbghelp: Do not try to ignore the return codes in PEV_ERROR and and PEV_ERROR1.

Gerald Pfeifer gerald at pfeifer.com
Fri Jul 25 17:18:42 CDT 2014


This is based on feedback Alexandre provided in a somewhat similar
case last month.

It does not actually trigger any (new) warnings with a current
snapshot of GCC 4.10.

Gerald
---
 dlls/dbghelp/msc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 5e8804f..636655f 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -2924,8 +2924,8 @@ struct zvalue
     struct hash_table_elt       elt;
 };
 
-#define PEV_ERROR(pev, msg)       snprintf((pev)->error, sizeof((pev)->error), "%s", (msg)),FALSE
-#define PEV_ERROR1(pev, msg, pmt) snprintf((pev)->error, sizeof((pev)->error), (msg), (pmt)),FALSE
+#define PEV_ERROR(pev, msg)       snprintf((pev)->error, sizeof((pev)->error), "%s", (msg))
+#define PEV_ERROR1(pev, msg, pmt) snprintf((pev)->error, sizeof((pev)->error), (msg), (pmt))
 
 #if 0
 static void pev_dump_stack(struct pevaluator* pev)
-- 
2.0.0



More information about the wine-patches mailing list