Round #2 of scan-build warnings cleanup
This commit is contained in:
@@ -635,7 +635,6 @@ hdb_sqlite_store(krb5_context context, HDB *db, unsigned flags,
|
||||
ret = HDB_ERR_EXISTS;
|
||||
goto rollback;
|
||||
}
|
||||
ret = 0;
|
||||
|
||||
ret = bind_principal(context, entry->entry.principal, hsdb->add_principal, 1);
|
||||
if (ret)
|
||||
@@ -663,8 +662,6 @@ hdb_sqlite_store(krb5_context context, HDB *db, unsigned flags,
|
||||
|
||||
entry_id = sqlite3_column_int64(get_ids, 1);
|
||||
|
||||
ret = 0;
|
||||
|
||||
} else if(ret == SQLITE_ROW) { /* Found a principal */
|
||||
|
||||
if(! (flags & HDB_F_REPLACE)) /* Not allowed to replace it */
|
||||
|
Reference in New Issue
Block a user