Bug 1102985 - Remove unused variable 'ALTER_CMD' in sdb.c. r=emaldona NSS_3_18_BETA5
authorCykesiopka <cykesiopka.bmo@gmail.com>
Thu, 08 Jan 2015 17:44:05 +0100
changeset 11335 0455ebb9ad001507fcd795df23f452cb0be80832
parent 11334 c5eb525565aec4444a6ca615ef926b59a4669c48
child 11336 6978c29bd763e8e20c4e837ef4cdc7f7d6e802bc
push id540
push userkaie@kuix.de
push dateThu, 08 Jan 2015 16:44:16 +0000
reviewersemaldona
bugs1102985
Bug 1102985 - Remove unused variable 'ALTER_CMD' in sdb.c. r=emaldona
lib/softoken/sdb.c
--- a/lib/softoken/sdb.c
+++ b/lib/softoken/sdb.c
@@ -1686,18 +1686,16 @@ void sdb_SetForkState(PRBool forked)
      * interface, we will need to set it and reset it from here */
 }
 
 /*
  * initialize a single database
  */
 static const char INIT_CMD[] =
  "CREATE TABLE %s (id PRIMARY KEY UNIQUE ON CONFLICT ABORT%s)";
-static const char ALTER_CMD[] = 
- "ALTER TABLE %s ADD COLUMN a%x";
 
 CK_RV 
 sdb_init(char *dbname, char *table, sdbDataType type, int *inUpdate,
 	 int *newInit, int flags, PRUint32 accessOps, SDB **pSdb)
 {
     int i;
     char *initStr = NULL;
     char *newStr;