fix comma at end of enumerator list

This commit is contained in:
Jacek Jendrzej
2013-05-28 15:52:31 +02:00
parent 13398c4e0f
commit a549b97924
13 changed files with 27 additions and 32 deletions

View File

@@ -242,7 +242,7 @@ bool CExtUpdate::applySettings()
// find mtdram device
std::string mtdRamFilename = "", mtdBlockFileName = "";
int mtdRamSize, mtdRamEraseSize, mtdRamNr = 0;
int mtdRamSize = 0, mtdRamEraseSize = 0, mtdRamNr = 0;
f1 = fopen("/proc/mtd", "r");
if(!f1)
return ErrorReset(RESET_UNLOAD, "cannot read /proc/mtd");