diff --git a/src/worker/src/xcecd_db.c b/src/worker/src/xcecd_db.c index 2aa7ca7..9253253 100644 --- a/src/worker/src/xcecd_db.c +++ b/src/worker/src/xcecd_db.c @@ -31,15 +31,6 @@ bool xcecd_db_init(xcecd_db_t** db, return false; } -#if 0 - *db = calloc(1, sizeof(xcecd_db_t*)); - if (!*db) { - XCECD_LOG(XCE_LOG_ERROR, - "Failed to allocate memory for database"); - return false; - } -#endif - if (sqlite3_open(db_path, db) != SQLITE_OK) { XCECD_LOG(XCE_LOG_ERROR, "Failed to open database: %s",