mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Remove debug code added by mistake
This commit is contained in:
parent
7e1e1ab61e
commit
49e8e02b77
@ -72,7 +72,6 @@ USTATUS FfsDumper::recursiveDump(const UModelIndex & index, const UString & path
|
|||||||
else
|
else
|
||||||
filename = usprintf("%s/body_%d.bin", path.toLocal8Bit(), counterBody);
|
filename = usprintf("%s/body_%d.bin", path.toLocal8Bit(), counterBody);
|
||||||
counterBody++;
|
counterBody++;
|
||||||
errno = 0;
|
|
||||||
std::ofstream file(filename.toLocal8Bit(), std::ofstream::binary);
|
std::ofstream file(filename.toLocal8Bit(), std::ofstream::binary);
|
||||||
if (!file)
|
if (!file)
|
||||||
return U_FILE_OPEN;
|
return U_FILE_OPEN;
|
||||||
|
@ -59,7 +59,7 @@ static inline bool changeDirectory(const UString & dir) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline UString getAbsPath(const UString & path) {
|
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.
|
// Last is a non-standard extension for non-existent files.
|
||||||
if (realpath(path.toLocal8Bit(), abs) || abs[0] != '\0')
|
if (realpath(path.toLocal8Bit(), abs) || abs[0] != '\0')
|
||||||
return UString(abs);
|
return UString(abs);
|
||||||
|
Loading…
Reference in New Issue
Block a user