summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps-win.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-05-05 00:01:50 +0200
committerLennart Poettering <lennart@poettering.net>2009-05-20 02:09:31 +0200
commitcbf0874f018c6ddd831de26b1ac5bcf7b517e2da (patch)
tree23d5293ecbe3c230ac7dcc08a34e96becc700584 /dbus/dbus-sysdeps-win.c
parentc200e0304d6f53a0fd47f524386b02b27c0c45f6 (diff)
memset: replace memset() by _DBUS_ZERO where applicable
Diffstat (limited to 'dbus/dbus-sysdeps-win.c')
-rw-r--r--dbus/dbus-sysdeps-win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c
index a67e502a..507f2c00 100644
--- a/dbus/dbus-sysdeps-win.c
+++ b/dbus/dbus-sysdeps-win.c
@@ -2616,7 +2616,7 @@ static void dump_backtrace_for_thread(HANDLE hThread)
DPRINTF("Backtrace:\n");
- memset(&context, 0, sizeof(context));
+ _DBUS_ZERO(context);
context.ContextFlags = CONTEXT_FULL;
SuspendThread(hThread);
@@ -2628,7 +2628,7 @@ static void dump_backtrace_for_thread(HANDLE hThread)
return;
}
- memset(&sf, 0, sizeof(sf));
+ _DBUS_ZERO(sf);
#ifdef __i386__
sf.AddrFrame.Offset = context.Ebp;