diff options
Diffstat (limited to 'plugins/Variables/src/parse_system.cpp')
-rw-r--r-- | plugins/Variables/src/parse_system.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/Variables/src/parse_system.cpp b/plugins/Variables/src/parse_system.cpp index b17266b807..ab94f0dca0 100644 --- a/plugins/Variables/src/parse_system.cpp +++ b/plugins/Variables/src/parse_system.cpp @@ -725,11 +725,6 @@ static TCHAR *parseTextFile(ARGUMENTSINFO *ai) }
while ((totalReadSz < fileSz) && (readSz > 0));
- if (linePos < 0) {
- CloseHandle(hFile);
- mir_free(pBuf);
- return NULL;
- }
if (SetFilePointer(hFile, linePos, NULL, FILE_BEGIN) != linePos) {
CloseHandle(hFile);
mir_free(pBuf);
|