From 2304916204245af6616f37a9734d02cb1038f8b7 Mon Sep 17 00:00:00 2001
From: Andreas Mohr <and@gmx.li>
Date: Tue, 8 Jan 2019 06:47:59 +0000
Subject: [PATCH] panel.c: Cleanup cppcheck style warning
Found by cppcheck 1.81
[src/filemanager/panel.c:4361]: (style) Variable 'err' is assigned a value that is never used.
Signed-off-by: Andreas Mohr <and@gmx.li>
---
src/filemanager/panel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/filemanager/panel.c b/src/filemanager/panel.c
index 1662d9e3a..5d8a52ebe 100644
a
|
b
|
panel_new_with_dir (const char *panel_name, const vfs_path_t * vpath) |
4358 | 4358 | vfs_path_t *tmp_vpath; |
4359 | 4359 | |
4360 | 4360 | tmp_vpath = vfs_path_from_str (curdir); |
4361 | | err = mc_chdir (tmp_vpath); |
| 4361 | mc_chdir (tmp_vpath); |
4362 | 4362 | vfs_path_free (tmp_vpath); |
4363 | 4363 | } |
4364 | 4364 | g_free (curdir); |