A simple .ini file interface.
Dependents: Smart-WiFly-WebServer SignalGenerator WattEye X10Svr
Revision 9:4947b8c244e9, committed 2014-07-07
- Comitter:
- WiredHome
- Date:
- Mon Jul 07 15:22:19 2014 +0000
- Parent:
- 8:f128b10dfab1
- Child:
- 10:57b93035ad82
- Commit message:
- reduce compiler warnings
Changed in this revision
| IniManager.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/IniManager.cpp Mon Jul 07 15:19:16 2014 +0000
+++ b/IniManager.cpp Mon Jul 07 15:22:19 2014 +0000
@@ -141,7 +141,7 @@
if (Exists(newFile)) {
int i;
- (void)i; // suppress warning about i not used when !DEBUG
+ i = i; // suppress warning about i not used when !DEBUG
// helps recover if the system crashed before it could swap in the new file
INFO(" *** found %s, repairing ...", newFile);
i = remove(bakFile); // remove an old .bak