mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
Cleanup comma compiler warnings.
Found by Clang 3.9.0. Signed-off-by: Andreas Mohr <and@gmx.li>
This commit is contained in:
parent
04c1eb6160
commit
238d3ac53c
@ -2554,8 +2554,10 @@ edit_replace_cmd (WEdit * edit, gboolean again)
|
|||||||
g_free (tmp_inp1);
|
g_free (tmp_inp1);
|
||||||
g_free (tmp_inp2);
|
g_free (tmp_inp2);
|
||||||
|
|
||||||
g_free (saved1), saved1 = g_strdup (input1);
|
g_free (saved1);
|
||||||
g_free (saved2), saved2 = g_strdup (input2);
|
saved1 = g_strdup (input1);
|
||||||
|
g_free (saved2);
|
||||||
|
saved2 = g_strdup (input2);
|
||||||
|
|
||||||
mc_search_free (edit->search);
|
mc_search_free (edit->search);
|
||||||
edit->search = NULL;
|
edit->search = NULL;
|
||||||
|
@ -473,7 +473,8 @@ ilog10 (dev_t n)
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
digits++, n /= 10;
|
digits++;
|
||||||
|
n /= 10;
|
||||||
}
|
}
|
||||||
while (n != 0);
|
while (n != 0);
|
||||||
|
|
||||||
|
@ -234,7 +234,8 @@ mcview_done (WView * view)
|
|||||||
mcview_close_datasource (view);
|
mcview_close_datasource (view);
|
||||||
/* the growing buffer is freed with the datasource */
|
/* the growing buffer is freed with the datasource */
|
||||||
|
|
||||||
coord_cache_free (view->coord_cache), view->coord_cache = NULL;
|
coord_cache_free (view->coord_cache);
|
||||||
|
view->coord_cache = NULL;
|
||||||
|
|
||||||
if (view->converter == INVALID_CONV)
|
if (view->converter == INVALID_CONV)
|
||||||
view->converter = str_cnv_from_term;
|
view->converter = str_cnv_from_term;
|
||||||
|
Loading…
Reference in New Issue
Block a user