diff options
author | Max Horn | 2003-05-21 17:00:00 +0000 |
---|---|---|
committer | Max Horn | 2003-05-21 17:00:00 +0000 |
commit | 1a6d64675455fcadee61297cebcf6083c3a76b84 (patch) | |
tree | 410ee23c2c8bd9ced82f25ba41f1350a2cf288d9 | |
parent | 24005adfd0aa31373332cdd7d0a45c8a0627e3d7 (diff) | |
download | scummvm-rg350-1a6d64675455fcadee61297cebcf6083c3a76b84.tar.gz scummvm-rg350-1a6d64675455fcadee61297cebcf6083c3a76b84.tar.bz2 scummvm-rg350-1a6d64675455fcadee61297cebcf6083c3a76b84.zip |
more pedantic changes
svn-id: r7790
-rw-r--r-- | common/savefile.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/common/savefile.h b/common/savefile.h index 37dc08ced4..aba4a204e8 100644 --- a/common/savefile.h +++ b/common/savefile.h @@ -73,22 +73,18 @@ class SaveFileManager { public: virtual ~SaveFileManager() {} - virtual SaveFile *open_savefile(const char *filename, - bool saveOrLoad) - { + virtual SaveFile *open_savefile(const char *filename, bool saveOrLoad) { StdioSaveFile *sf = new StdioSaveFile(filename, (saveOrLoad? "wb":"rb")); - if(!sf->is_open()) { + if (!sf->is_open()) { delete sf; sf = NULL; } return sf; } - virtual void list_savefiles(const char *prefix, - bool *marks, int num) - { - memset(marks, true, num*sizeof(bool)); + virtual void list_savefiles(const char * /* prefix */, bool *marks, int num) { + memset(marks, true, num * sizeof(bool)); } }; |