diff --git a/mfshell/commands/list.c b/mfshell/commands/list.c index c8a47af..1f84047 100644 --- a/mfshell/commands/list.c +++ b/mfshell/commands/list.c @@ -29,7 +29,6 @@ int mfshell_cmd_list(mfshell * mfshell, int argc, char *const argv[]) { (void)argv; int retval; - const char *folder_curr; if (mfshell == NULL) return -1; @@ -39,8 +38,6 @@ int mfshell_cmd_list(mfshell * mfshell, int argc, char *const argv[]) return -1; } - folder_curr = folder_get_key(mfshell->folder_curr); - // first folders retval = mfconn_api_folder_get_content(mfshell->conn, 0, mfshell->folder_curr);