diff options
Diffstat (limited to 'src/peerstore/peerstore_api.c')
-rw-r--r-- | src/peerstore/peerstore_api.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/peerstore/peerstore_api.c b/src/peerstore/peerstore_api.c index e2ed06d28..8770c36e4 100644 --- a/src/peerstore/peerstore_api.c +++ b/src/peerstore/peerstore_api.c | |||
@@ -1120,7 +1120,6 @@ hello_updated (void *cls, | |||
1120 | const char *emsg) | 1120 | const char *emsg) |
1121 | { | 1121 | { |
1122 | struct GNUNET_PEERSTORE_NotifyContext *nc = cls; | 1122 | struct GNUNET_PEERSTORE_NotifyContext *nc = cls; |
1123 | struct GNUNET_PEERSTORE_Handle *h = nc->h; | ||
1124 | const struct GNUNET_MessageHeader *hello; | 1123 | const struct GNUNET_MessageHeader *hello; |
1125 | struct GNUNET_HELLO_Builder *builder; | 1124 | struct GNUNET_HELLO_Builder *builder; |
1126 | 1125 | ||
@@ -1187,9 +1186,6 @@ void | |||
1187 | GNUNET_PEERSTORE_hello_changed_notify_cancel (struct | 1186 | GNUNET_PEERSTORE_hello_changed_notify_cancel (struct |
1188 | GNUNET_PEERSTORE_NotifyContext *nc) | 1187 | GNUNET_PEERSTORE_NotifyContext *nc) |
1189 | { | 1188 | { |
1190 | struct GNUNET_PEERSTORE_IterateContext *ic; | ||
1191 | struct GNUNET_PEERSTORE_Handle *h = nc->h; | ||
1192 | |||
1193 | if (NULL != nc->wc) | 1189 | if (NULL != nc->wc) |
1194 | { | 1190 | { |
1195 | GNUNET_PEERSTORE_watch_cancel (nc->wc); | 1191 | GNUNET_PEERSTORE_watch_cancel (nc->wc); |
@@ -1203,7 +1199,6 @@ merge_success (void *cls, int success) | |||
1203 | { | 1199 | { |
1204 | struct StoreHelloCls *shu_cls = cls; | 1200 | struct StoreHelloCls *shu_cls = cls; |
1205 | struct GNUNET_PEERSTORE_StoreHelloContext *huc = shu_cls->huc; | 1201 | struct GNUNET_PEERSTORE_StoreHelloContext *huc = shu_cls->huc; |
1206 | struct GNUNET_PEERSTORE_Handle *h = huc->h; | ||
1207 | 1202 | ||
1208 | if (GNUNET_OK != success) | 1203 | if (GNUNET_OK != success) |
1209 | { | 1204 | { |
@@ -1241,7 +1236,6 @@ store_hello (struct GNUNET_PEERSTORE_StoreHelloContext *huc, | |||
1241 | const struct GNUNET_MessageHeader *hello) | 1236 | const struct GNUNET_MessageHeader *hello) |
1242 | { | 1237 | { |
1243 | struct GNUNET_PEERSTORE_Handle *h = huc->h; | 1238 | struct GNUNET_PEERSTORE_Handle *h = huc->h; |
1244 | struct GNUNET_PeerIdentity *pid; | ||
1245 | struct GNUNET_PEERSTORE_StoreContext *sc; | 1239 | struct GNUNET_PEERSTORE_StoreContext *sc; |
1246 | struct StoreHelloCls *shu_cls = GNUNET_new (struct StoreHelloCls); | 1240 | struct StoreHelloCls *shu_cls = GNUNET_new (struct StoreHelloCls); |
1247 | struct GNUNET_TIME_Absolute hello_exp; | 1241 | struct GNUNET_TIME_Absolute hello_exp; |
@@ -1275,12 +1269,9 @@ merge_uri (void *cls, | |||
1275 | const char *emsg) | 1269 | const char *emsg) |
1276 | { | 1270 | { |
1277 | struct GNUNET_PEERSTORE_StoreHelloContext *huc = cls; | 1271 | struct GNUNET_PEERSTORE_StoreHelloContext *huc = cls; |
1278 | struct GNUNET_PEERSTORE_Handle *h = huc->h; | ||
1279 | struct GNUNET_PEERSTORE_WatchContext *wc; | ||
1280 | struct GNUNET_MessageHeader *hello; | 1272 | struct GNUNET_MessageHeader *hello; |
1281 | struct GNUNET_TIME_Absolute huc_hello_exp_time; | 1273 | struct GNUNET_TIME_Absolute huc_hello_exp_time; |
1282 | struct GNUNET_TIME_Absolute record_hello_exp_time; | 1274 | struct GNUNET_TIME_Absolute record_hello_exp_time; |
1283 | const char *val; | ||
1284 | 1275 | ||
1285 | if (NULL != emsg) | 1276 | if (NULL != emsg) |
1286 | { | 1277 | { |