Fossil SCM
Removed a test/debug #if block which i accidentally left enabled in [73e28dd718].
Commit
5ddfe3d6630e137d170ef38dd684883fedb47782
Parent
997274e9be9203c…
1 file changed
-6
-6
| --- src/json_wiki.c | ||
| +++ src/json_wiki.c | ||
| @@ -209,17 +209,11 @@ | ||
| 209 | 209 | /* |
| 210 | 210 | ** Implementation of /json/wiki/save. |
| 211 | 211 | */ |
| 212 | 212 | static cson_value * json_wiki_save(){ |
| 213 | 213 | char const createIfNotExists = json_getenv_bool("createIfNotExists",0); |
| 214 | -#if 0 | |
| 215 | 214 | return json_wiki_create_or_save(0,createIfNotExists); |
| 216 | -#else | |
| 217 | - cson_value * v = json_wiki_create_or_save(0,createIfNotExists); | |
| 218 | - cson_object * o = cson_value_get_object(v); | |
| 219 | - cson_object_set(o,"createIfNotExists", cson_value_new_bool(createIfNotExists)); | |
| 220 | -#endif | |
| 221 | 215 | } |
| 222 | 216 | |
| 223 | 217 | /* |
| 224 | 218 | ** Implementation of /json/wiki/list. |
| 225 | 219 | */ |
| 226 | 220 |
| --- src/json_wiki.c | |
| +++ src/json_wiki.c | |
| @@ -209,17 +209,11 @@ | |
| 209 | /* |
| 210 | ** Implementation of /json/wiki/save. |
| 211 | */ |
| 212 | static cson_value * json_wiki_save(){ |
| 213 | char const createIfNotExists = json_getenv_bool("createIfNotExists",0); |
| 214 | #if 0 |
| 215 | return json_wiki_create_or_save(0,createIfNotExists); |
| 216 | #else |
| 217 | cson_value * v = json_wiki_create_or_save(0,createIfNotExists); |
| 218 | cson_object * o = cson_value_get_object(v); |
| 219 | cson_object_set(o,"createIfNotExists", cson_value_new_bool(createIfNotExists)); |
| 220 | #endif |
| 221 | } |
| 222 | |
| 223 | /* |
| 224 | ** Implementation of /json/wiki/list. |
| 225 | */ |
| 226 |
| --- src/json_wiki.c | |
| +++ src/json_wiki.c | |
| @@ -209,17 +209,11 @@ | |
| 209 | /* |
| 210 | ** Implementation of /json/wiki/save. |
| 211 | */ |
| 212 | static cson_value * json_wiki_save(){ |
| 213 | char const createIfNotExists = json_getenv_bool("createIfNotExists",0); |
| 214 | return json_wiki_create_or_save(0,createIfNotExists); |
| 215 | } |
| 216 | |
| 217 | /* |
| 218 | ** Implementation of /json/wiki/list. |
| 219 | */ |
| 220 |