From d496cf2407129524c50169a56b6a296afa34dbd4 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 17 Apr 2005 21:58:06 +0000 Subject: Forgot to add registry code in previous checkin --- src/test/w32dtst.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/test/w32dtst.cpp') diff --git a/src/test/w32dtst.cpp b/src/test/w32dtst.cpp index bc5e6a6..e940bcd 100644 --- a/src/test/w32dtst.cpp +++ b/src/test/w32dtst.cpp @@ -336,7 +336,7 @@ private: static void ReadInt(const char *mode, W32DLib::Registry& r, const char *name) { - unsigned i; + unsigned i=0; bool res=r.Read(name,i); std::cout << "ReadInt(mode=" << mode @@ -389,6 +389,8 @@ int WINAPI WinMain (HINSTANCE hInstance, ReadStr("rw",rw,"str"); ReadInt("ro",rd,"int"); ReadStr("ro",rd,"str"); + ReadStr("rw",rw,"int"); + ReadInt("rw",rw,"str"); WriteInt("rw",rw,"int"); WriteStr("rw",rw,"str"); WriteInt("ro",rd,"int"); -- cgit v1.2.3