Commit b48f0086 authored by Kevin Jacobs's avatar Kevin Jacobs

Bug 1540652 - softoken/sdb.c: Logically dead code, r=keeler

Test Plan: https://treeherder.mozilla.org/#/jobs?repo=nss-try&revision=b7bd9acb3ca38a1db10c35c295b9bfcae44a5074

Reviewers: keeler

Reviewed By: keeler

Subscribers: mt

Bug #: 1540652

Differential Revision: https://phabricator.services.mozilla.com/D27191

--HG--
extra : rebase_source : c72a1034449add462856d5ab19140059560b631f
parent c8a614fe
......@@ -899,10 +899,8 @@ sdb_GetAttributeValueNoLock(SDB *sdb, CK_OBJECT_HANDLE object_id,
}
columns = newColumns;
}
if (!columns) {
error = CKR_OBJECT_HANDLE_INVALID;
goto loser;
}
PORT_Assert(columns);
char *statement = sqlite3_mprintf("SELECT DISTINCT %s FROM %s where id=$ID LIMIT 1;",
columns, table);
......
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