From b82f2ce538926db40d9b0eeab201ab04f1fa9065 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 22 May 2009 23:08:58 +0000 Subject: struct Button contains non POD members, thus don't use memset on it. svn-id: r40794 --- engines/kyra/gui_lol.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'engines/kyra/gui_lol.cpp') diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp index 6c36ffb3fc..652cc7bc40 100644 --- a/engines/kyra/gui_lol.cpp +++ b/engines/kyra/gui_lol.cpp @@ -1523,7 +1523,6 @@ int LoLEngine::clickedRestParty(Button *button) { gui_toggleButtonDisplayMode(77, 1); Button b; - memset(&b, 0, sizeof(Button)); b.data0Val2 = b.data1Val2 = b.data2Val2 = 0xfe; b.data0Val3 = b.data1Val3 = b.data2Val3 = 0x01; -- cgit v1.2.3