Fossil SCM

Fix harmless coding style issues.

drh 2017-12-14 18:03 trunk
Commit dc7d0a2e27c48c63656e6b3d96c325fa8fb66724c463d7340115b91fb915948a
2 files changed +1 -1 +1 -1
+1 -1
--- src/db.c
+++ src/db.c
@@ -62,11 +62,11 @@
6262
/*
6363
** Copy this to initialize a Stmt object to a clean/empty state. This
6464
** is useful to help avoid assertions when performing cleanup in some
6565
** error handling cases.
6666
*/
67
-#define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0}
67
+#define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0, 0}
6868
#endif /* INTERFACE */
6969
const struct Stmt empty_Stmt = empty_Stmt_m;
7070
7171
/*
7272
** Call this routine when a database error occurs.
7373
--- 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 @@
10721072
if( srchFlags==0 ){
10731073
zDisable1 = " disabled";
10741074
zDisable2 = " disabled";
10751075
zPattern = "";
10761076
}else{
1077
- zDisable1 = ""; // autofocus";
1077
+ zDisable1 = ""; /* Was: " autofocus" */
10781078
zDisable2 = "";
10791079
zPattern = PD("s","");
10801080
}
10811081
@ <form method='GET' action='%R/%T(g.zPath)'>
10821082
if( zClass ){
10831083
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button