Permalink
Browse files

RomInfo constructor was being called with an empty string where it ca…

…lled for a boolean. Coverity defect 703726
  • Loading branch information...
1 parent dfb717c commit 7493e12336922c8e14d3e02fd67579445f2667f1 @stuartm stuartm committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythplugins/mythgame/mythgame/gamescan.cpp
@@ -115,7 +115,7 @@ void GameScannerThread::updateDB()
if (!(*p).indb)
{
RomInfo add(0, (*p).romfile, (*p).system,
- (*p).romname, "", "", "", (*p).rompath,
+ (*p).romname, "", "", false, (*p).rompath,
"", "", 0, (*p).gametype, 0, "", "", "",
"", "", "", "", "");
add.SaveToDatabase();

0 comments on commit 7493e12

Please sign in to comment.