mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 21:24:28 -08:00
build with -Wall -Wextra -Werror and fix errors
This commit is contained in:
@@ -43,7 +43,6 @@ mfconn_api_folder_get_content(mfconn_t *mfconn, int mode, folder_t *folder_curr)
|
||||
{
|
||||
char *api_call;
|
||||
int retval;
|
||||
char *rx_buffer;
|
||||
char *content_type;
|
||||
|
||||
if(mfconn == NULL) return -1;
|
||||
@@ -96,6 +95,9 @@ _decode_folder_get_content_folders(http_t *conn, void *user_ptr)
|
||||
int array_sz;
|
||||
int i = 0;
|
||||
|
||||
if (user_ptr != NULL)
|
||||
return -1;
|
||||
|
||||
root = http_parse_buf_json(conn, 0, &error);
|
||||
|
||||
/*json_t *result = json_object_by_path(root, "response/action");
|
||||
@@ -154,6 +156,9 @@ _decode_folder_get_content_files(http_t *conn, void *user_ptr)
|
||||
int array_sz;
|
||||
int i = 0;
|
||||
|
||||
if (user_ptr != NULL)
|
||||
return -1;
|
||||
|
||||
root = http_parse_buf_json(conn, 0, &error);
|
||||
|
||||
node = json_object_by_path(root,"response/folder_content");
|
||||
|
||||
Reference in New Issue
Block a user