Fossil SCM
Fix harmless coding style issues.
Commit
dc7d0a2e27c48c63656e6b3d96c325fa8fb66724c463d7340115b91fb915948a
Parent
55dd55213637ac4…
2 files changed
+1
-1
+1
-1
M
src/db.c
+1
-1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -62,11 +62,11 @@ | ||
| 62 | 62 | /* |
| 63 | 63 | ** Copy this to initialize a Stmt object to a clean/empty state. This |
| 64 | 64 | ** is useful to help avoid assertions when performing cleanup in some |
| 65 | 65 | ** error handling cases. |
| 66 | 66 | */ |
| 67 | -#define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0} | |
| 67 | +#define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0, 0} | |
| 68 | 68 | #endif /* INTERFACE */ |
| 69 | 69 | const struct Stmt empty_Stmt = empty_Stmt_m; |
| 70 | 70 | |
| 71 | 71 | /* |
| 72 | 72 | ** Call this routine when a database error occurs. |
| 73 | 73 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -62,11 +62,11 @@ | |
| 62 | /* |
| 63 | ** Copy this to initialize a Stmt object to a clean/empty state. This |
| 64 | ** is useful to help avoid assertions when performing cleanup in some |
| 65 | ** error handling cases. |
| 66 | */ |
| 67 | #define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0} |
| 68 | #endif /* INTERFACE */ |
| 69 | const struct Stmt empty_Stmt = empty_Stmt_m; |
| 70 | |
| 71 | /* |
| 72 | ** Call this routine when a database error occurs. |
| 73 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -62,11 +62,11 @@ | |
| 62 | /* |
| 63 | ** Copy this to initialize a Stmt object to a clean/empty state. This |
| 64 | ** is useful to help avoid assertions when performing cleanup in some |
| 65 | ** error handling cases. |
| 66 | */ |
| 67 | #define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0, 0} |
| 68 | #endif /* INTERFACE */ |
| 69 | const struct Stmt empty_Stmt = empty_Stmt_m; |
| 70 | |
| 71 | /* |
| 72 | ** Call this routine when a database error occurs. |
| 73 |
+1
-1
| --- src/search.c | ||
| +++ src/search.c | ||
| @@ -1072,11 +1072,11 @@ | ||
| 1072 | 1072 | if( srchFlags==0 ){ |
| 1073 | 1073 | zDisable1 = " disabled"; |
| 1074 | 1074 | zDisable2 = " disabled"; |
| 1075 | 1075 | zPattern = ""; |
| 1076 | 1076 | }else{ |
| 1077 | - zDisable1 = ""; // autofocus"; | |
| 1077 | + zDisable1 = ""; /* Was: " autofocus" */ | |
| 1078 | 1078 | zDisable2 = ""; |
| 1079 | 1079 | zPattern = PD("s",""); |
| 1080 | 1080 | } |
| 1081 | 1081 | @ <form method='GET' action='%R/%T(g.zPath)'> |
| 1082 | 1082 | if( zClass ){ |
| 1083 | 1083 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -1072,11 +1072,11 @@ | |
| 1072 | if( srchFlags==0 ){ |
| 1073 | zDisable1 = " disabled"; |
| 1074 | zDisable2 = " disabled"; |
| 1075 | zPattern = ""; |
| 1076 | }else{ |
| 1077 | zDisable1 = ""; // autofocus"; |
| 1078 | zDisable2 = ""; |
| 1079 | zPattern = PD("s",""); |
| 1080 | } |
| 1081 | @ <form method='GET' action='%R/%T(g.zPath)'> |
| 1082 | if( zClass ){ |
| 1083 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -1072,11 +1072,11 @@ | |
| 1072 | if( srchFlags==0 ){ |
| 1073 | zDisable1 = " disabled"; |
| 1074 | zDisable2 = " disabled"; |
| 1075 | zPattern = ""; |
| 1076 | }else{ |
| 1077 | zDisable1 = ""; /* Was: " autofocus" */ |
| 1078 | zDisable2 = ""; |
| 1079 | zPattern = PD("s",""); |
| 1080 | } |
| 1081 | @ <form method='GET' action='%R/%T(g.zPath)'> |
| 1082 | if( zClass ){ |
| 1083 |