Skip to content

Commit 2cb6aaf

Browse files
committed
Logging error twice causing segfaults
1 parent f5b37e7 commit 2cb6aaf

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

luaApp/src/rec/luascriptRecord.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -720,11 +720,7 @@ static long init_record(dbCommon* common, int pass)
720720
init_str++;
721721
}
722722

723-
if (initState(record))
724-
{
725-
logError(record);
726-
return -1;
727-
}
723+
if (initState(record)) { return -1; }
728724

729725
return 0;
730726
}

0 commit comments

Comments
 (0)