Remove debug code added by mistake

This commit is contained in:
vit9696 2018-10-10 17:23:45 +03:00
parent 7e1e1ab61e
commit 49e8e02b77
2 changed files with 1 additions and 2 deletions

View File

@ -72,7 +72,6 @@ USTATUS FfsDumper::recursiveDump(const UModelIndex & index, const UString & path
else
filename = usprintf("%s/body_%d.bin", path.toLocal8Bit(), counterBody);
counterBody++;
errno = 0;
std::ofstream file(filename.toLocal8Bit(), std::ofstream::binary);
if (!file)
return U_FILE_OPEN;

View File

@ -59,7 +59,7 @@ static inline bool changeDirectory(const UString & dir) {
}
static inline UString getAbsPath(const UString & path) {
char abs[PATH_MAX] = {};
char abs[PATH_MAX] = {};
// Last is a non-standard extension for non-existent files.
if (realpath(path.toLocal8Bit(), abs) || abs[0] != '\0')
return UString(abs);