From 6e2d6651276757f0ac7ed3bf511c2b0bf7011a2d Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Wed, 14 Jun 2023 17:36:50 +0200 Subject: [PATCH] eesh: Trivial cleanups --- eesh/main.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/eesh/main.c b/eesh/main.c index c66a3932..09a4c4f3 100644 --- a/eesh/main.c +++ b/eesh/main.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors - * Copyright (C) 2004-2022 Kim Woelders + * Copyright (C) 2004-2023 Kim Woelders * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -94,7 +94,6 @@ main(int argc, char **argv) mode = 0; display_name = NULL; - command = NULL; #ifdef __clang_analyzer__ /* Seems not to understand asm FD_ZERO() */ memset(&fd, 0, sizeof(fd)); @@ -156,16 +155,9 @@ main(int argc, char **argv) CommsSend(e, "set clientname eesh"); CommsSend(e, "set version 0.2"); -#if 0 /* Speed it up */ - CommsSend(e, "set author The Rasterman"); - CommsSend(e, "set email raster@rasterman.com"); - CommsSend(e, "set web http://www.enlightenment.org"); -/* CommsSend(e, "set address NONE"); */ - CommsSend(e, "set info Enlightenment IPC Shell - talk to E direct"); -/* CommsSend(e, "set pixmap 0"); */ -#endif - if (!command && i < argc) + command = NULL; + if (i < argc) { mode = 1; len = 0;