Kaydet (Commit) 4c1c5aaa authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Avoid a crash.

Change-Id: I2ce8be599c9285bd0da039e1ff9c0649a118a8a1
üst 1ec55802
......@@ -204,7 +204,7 @@ int wmain(int argc, WCHAR *argv[])
argv++; argc--;
}
if (strcmpW(dbfile, h1) == 0 || strcmpW(dbfile, h2) == 0)
if (!dbfile || strcmpW(dbfile, h1) == 0 || strcmpW(dbfile, h2) == 0)
{
usage();
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment