Fossil SCM
Remove superfluous conditional operator.
Commit
79b27a675f6e6f747f7d8bf2a548866f26056720
Parent
e6b160afe3d1c78…
1 file changed
+1
-1
M
src/db.c
+1
-1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -396,11 +396,11 @@ | ||
| 396 | 396 | void db_all_column_free( |
| 397 | 397 | int count, /* Number of string elements in the arrays. */ |
| 398 | 398 | char ***pazValue /* Array of column values from query. */ |
| 399 | 399 | ){ |
| 400 | 400 | if( pazValue ){ |
| 401 | - char **azValue = pazValue ? *pazValue : 0; | |
| 401 | + char **azValue = *pazValue; | |
| 402 | 402 | int i; |
| 403 | 403 | for(i=0; i<count; i++){ |
| 404 | 404 | if( azValue ){ |
| 405 | 405 | fossil_free(azValue[i]); |
| 406 | 406 | azValue[i] = 0; |
| 407 | 407 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -396,11 +396,11 @@ | |
| 396 | void db_all_column_free( |
| 397 | int count, /* Number of string elements in the arrays. */ |
| 398 | char ***pazValue /* Array of column values from query. */ |
| 399 | ){ |
| 400 | if( pazValue ){ |
| 401 | char **azValue = pazValue ? *pazValue : 0; |
| 402 | int i; |
| 403 | for(i=0; i<count; i++){ |
| 404 | if( azValue ){ |
| 405 | fossil_free(azValue[i]); |
| 406 | azValue[i] = 0; |
| 407 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -396,11 +396,11 @@ | |
| 396 | void db_all_column_free( |
| 397 | int count, /* Number of string elements in the arrays. */ |
| 398 | char ***pazValue /* Array of column values from query. */ |
| 399 | ){ |
| 400 | if( pazValue ){ |
| 401 | char **azValue = *pazValue; |
| 402 | int i; |
| 403 | for(i=0; i<count; i++){ |
| 404 | if( azValue ){ |
| 405 | fossil_free(azValue[i]); |
| 406 | azValue[i] = 0; |
| 407 |