id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking,branch_state,votes 415,trivial optimization in src/file.c::panel_operate(),slavazanko,slavazanko,"'''Message from maillist.''' From: Denys Vlasenko (vda). ---- I noticed an incorrectly indented if() in file.c::panel_operate(). Took a better look, and found out it can be tweaked in several ways. This patch is the result. It contains the following trivial optimizations: * merged two identical ""dest_dir_ = g_strdup (dest_dir)"" ops. * simplified check for trailing '/' (no need to strcmp 1-char string). * since g_free (NULL) is safe, merged two separate ""if empty string then bail out"" code paths. * fixed wording in a comment. ",enhancement,closed,trivial,4.7,mc-core,master,fixed,commited-master,,,,,