From 087cee5425e118469ac8573b735241ccaf9178a5 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 28 Jan 2017 16:22:43 -0500 Subject: [PATCH] CmdLogo: Code cleanup --- src/commands/CmdLogo.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/commands/CmdLogo.cpp b/src/commands/CmdLogo.cpp index 22ee271bc..801f5ea6f 100644 --- a/src/commands/CmdLogo.cpp +++ b/src/commands/CmdLogo.cpp @@ -49,11 +49,6 @@ CmdLogo::CmdLogo () } //////////////////////////////////////////////////////////////////////////////// -// Algorithm: -// Copy file rc.data.location/extensions -// Generate UUID -// Call the "install" function once, store results in rc: -// extension.= int CmdLogo::execute (std::string& output) { static const char* data[] = @@ -89,7 +84,7 @@ int CmdLogo::execute (std::string& output) "" }; - if (!context.color ()) + if (! context.color ()) throw std::string (STRING_CMD_LOGO_COLOR_REQ); std::string indent (context.config.getInteger ("indent.report"), ' ');