diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-04-17 21:58:06 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-04-17 21:58:06 +0000 |
commit | d496cf2407129524c50169a56b6a296afa34dbd4 (patch) | |
tree | 606fad38a6a47e07bf4bf9a81ba65ab203b46950 /src/test | |
parent | 7740ebb87b8aa440f10095a77fea5d781844dd97 (diff) |
Forgot to add registry code in previous checkin
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/w32dtst.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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"); |