diff options
author | Michael Vetter <jubalh@iodoru.org> | 2018-10-31 19:35:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 19:35:04 +0100 |
commit | 9ed4b0d6f2ec7f19d7ca89eb122b9f9312ec55df (patch) | |
tree | 7167bca163668b4f87feb64458bb3b3a4019ed9d /tests/unittests/tools/stub_http_upload.c | |
parent | 21fffb1e86db2a6fa65f650869f8e82d2031b114 (diff) | |
parent | e3f2ca7d1027435dec6e4bb5aa6dae7177c6315d (diff) | |
download | profani-tty-9ed4b0d6f2ec7f19d7ca89eb122b9f9312ec55df.tar.gz |
Merge pull request #1020 from pasis/tests-w
tests: remove cflag -w and fix warnings
Diffstat (limited to 'tests/unittests/tools/stub_http_upload.c')
-rw-r--r-- | tests/unittests/tools/stub_http_upload.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittests/tools/stub_http_upload.c b/tests/unittests/tools/stub_http_upload.c index 59a7bace..7bf925db 100644 --- a/tests/unittests/tools/stub_http_upload.c +++ b/tests/unittests/tools/stub_http_upload.c @@ -21,9 +21,9 @@ typedef struct http_upload_t { //GSList *upload_processes; -void* http_file_put(void *userdata) {} +void* http_file_put(void *userdata) { return NULL; } -char* file_mime_type(const char* const file_name) {} -off_t file_size(const char* const file_name) {} +char* file_mime_type(const char* const file_name) { return NULL; } +off_t file_size(const char* const file_name) { return 0; } #endif |