Squashed commit of the following:
commit
26670f34b12aba46c2416950ad3ec26f04f0f33c
Author: Michael Altizer <mialtize@cisco.com>
Date: Mon May 1 11:39:57 2017 -0400
main: Fix compiler warnings when SHELL is not enabled
static Request request;
static Request* current_request = &request;
+#ifdef SHELL
static int current_fd = -1;
+#endif
//-------------------------------------------------------------------------
// pig foo
static AnalyzerCommand* get_command(AnalyzerCommand* ac, bool from_shell)
{
-#ifdef SHELL
+#ifndef SHELL
+ UNUSED(from_shell);
+#else
if ( from_shell )
return ( new ACShellCmd(current_fd, ac) );
else