mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #3463: enable -Wbad-function-cast option and fix relative warnings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
3ba8109fe9
commit
d2713adbc6
@ -52,7 +52,7 @@ dnl MC_CHECK_ONE_CFLAG([-fno-stack-protector])
|
||||
esac
|
||||
|
||||
dnl Sorted -W options:
|
||||
dnl MC_CHECK_ONE_CFLAG([-Wbad-function-cast])
|
||||
MC_CHECK_ONE_CFLAG([-Wbad-function-cast])
|
||||
MC_CHECK_ONE_CFLAG([-Wcomment])
|
||||
MC_CHECK_ONE_CFLAG([-Wdeclaration-after-statement])
|
||||
MC_CHECK_ONE_CFLAG([-Wfloat-equal])
|
||||
|
@ -581,7 +581,7 @@ do_compute_dir_size (const vfs_path_t * dirname_vpath, dirsize_status_msg_t * ds
|
||||
dsm->dirname_vpath = tmp_vpath;
|
||||
dsm->dir_count = *dir_count;
|
||||
dsm->total_size = *ret_total;
|
||||
ret = (FileProgressStatus) sm->update (sm);
|
||||
ret = sm->update (sm);
|
||||
}
|
||||
}
|
||||
|
||||
@ -714,8 +714,8 @@ real_query_recursive (file_op_context_t * ctx, enum OperationMode mode, const ch
|
||||
query_set_sel (1);
|
||||
|
||||
ctx->recursive_result =
|
||||
(FileCopyMode) query_dialog (op_names[OP_DELETE], text, D_ERROR, 5,
|
||||
_("&Yes"), _("&No"), _("A&ll"), _("Non&e"), _("&Abort"));
|
||||
query_dialog (op_names[OP_DELETE], text, D_ERROR, 5, _("&Yes"), _("&No"), _("A&ll"),
|
||||
_("Non&e"), _("&Abort"));
|
||||
g_free (text);
|
||||
|
||||
if (ctx->recursive_result != RECURSIVE_ABORT)
|
||||
|
Loading…
Reference in New Issue
Block a user