File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -2516,16 +2516,13 @@ static sqlite3* openDbConnection()
2516
2516
rc = sqlite3_initialize ();
2517
2517
if (rc != SQLITE_OK)
2518
2518
{
2519
- msg (" sqlite3_initialize failed\n " );
2520
- return NULL ;
2519
+ term (" sqlite3_initialize failed\n " );
2521
2520
}
2522
2521
2523
2522
2524
2523
if (stat (outputDirectory+" /doxygen_sqlite3.db" , &buf) == 0 )
2525
2524
{
2526
- msg (" doxygen_sqlite3.db already exists! aborting sqlite3 output generation!\n " );
2527
- msg (" If you wish to re-generate the database, remove or archive the existing copy first.\n " );
2528
- return NULL ;
2525
+ term (" doxygen_sqlite3.db already exists! Rename, remove, or archive it to regenerate. Aborting!\n " );
2529
2526
}
2530
2527
2531
2528
rc = sqlite3_open_v2 (
@@ -2537,8 +2534,7 @@ static sqlite3* openDbConnection()
2537
2534
if (rc != SQLITE_OK)
2538
2535
{
2539
2536
sqlite3_close (db);
2540
- msg (" database open failed: %s\n " , " doxygen_sqlite3.db" );
2541
- return NULL ;
2537
+ term (" Database open failed: %s\n " , " doxygen_sqlite3.db" );
2542
2538
}
2543
2539
return db;
2544
2540
}
You can’t perform that action at this time.
0 commit comments