diff options
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r-- | src/datastore/plugin_datastore_sqlite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index f58955b7b..3c2d7f2d4 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c | |||
@@ -1029,7 +1029,7 @@ sqlite_plugin_get_replication (void *cls, | |||
1029 | { | 1029 | { |
1030 | struct Plugin *plugin = cls; | 1030 | struct Plugin *plugin = cls; |
1031 | struct ReplCtx rc; | 1031 | struct ReplCtx rc; |
1032 | uint64_t rvalue; | 1032 | uint64_t rvalue = 0; |
1033 | uint32_t repl; | 1033 | uint32_t repl; |
1034 | struct GNUNET_SQ_QueryParam params_sel_repl[] = | 1034 | struct GNUNET_SQ_QueryParam params_sel_repl[] = |
1035 | { GNUNET_SQ_query_param_uint64 (&rvalue), | 1035 | { GNUNET_SQ_query_param_uint64 (&rvalue), |
@@ -1096,7 +1096,7 @@ sqlite_plugin_get_expiration (void *cls, | |||
1096 | { | 1096 | { |
1097 | struct Plugin *plugin = cls; | 1097 | struct Plugin *plugin = cls; |
1098 | sqlite3_stmt *stmt; | 1098 | sqlite3_stmt *stmt; |
1099 | struct GNUNET_TIME_Absolute now; | 1099 | struct GNUNET_TIME_Absolute now = { 0 }; |
1100 | struct GNUNET_SQ_QueryParam params[] = { GNUNET_SQ_query_param_absolute_time ( | 1100 | struct GNUNET_SQ_QueryParam params[] = { GNUNET_SQ_query_param_absolute_time ( |
1101 | &now), | 1101 | &now), |
1102 | GNUNET_SQ_query_param_end }; | 1102 | GNUNET_SQ_query_param_end }; |