diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-01-06 21:05:03 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-01-06 21:05:03 +0100 |
commit | 8dea30580ceaa571c9d85b5e8a563201ed622ed7 (patch) | |
tree | 97cabce64f3d7c87672fad8d3ab8783ac2760187 /src/include/gnunet_fs_service.h | |
parent | 3a18658cf9196ecd8e55d5231818e6ee3b242a43 (diff) | |
download | gnunet-8dea30580ceaa571c9d85b5e8a563201ed622ed7.tar.gz gnunet-8dea30580ceaa571c9d85b5e8a563201ed622ed7.zip |
fix potential use of uninitialized key
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index ac418072e..cbad374b5 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -109,8 +109,9 @@ typedef int | |||
109 | * | 109 | * |
110 | * @param uri uri to convert to a unique key | 110 | * @param uri uri to convert to a unique key |
111 | * @param key wherer to store the unique key | 111 | * @param key wherer to store the unique key |
112 | * @return #GNUNET_OK on success | ||
112 | */ | 113 | */ |
113 | void | 114 | int |
114 | GNUNET_FS_uri_to_key (const struct GNUNET_FS_Uri *uri, | 115 | GNUNET_FS_uri_to_key (const struct GNUNET_FS_Uri *uri, |
115 | struct GNUNET_HashCode *key); | 116 | struct GNUNET_HashCode *key); |
116 | 117 | ||