A simple .ini file interface.
Dependents: Smart-WiFly-WebServer SignalGenerator WattEye X10Svr
Diff: IniManager.cpp
- Revision:
- 9:4947b8c244e9
- Parent:
- 8:f128b10dfab1
- Child:
- 10:57b93035ad82
--- 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