]> git.webhop.me Git - shellexec.git/commitdiff
shellexec.c: remove unused variables
authorThilo Graf <dbt@novatux.de>
Wed, 7 Mar 2018 20:56:55 +0000 (21:56 +0100)
committerThilo Graf <dbt@novatux.de>
Thu, 8 Mar 2018 14:46:05 +0000 (15:46 +0100)
shellexec.c

index a9efdf5c56b468842311a3a1e6e8285d0357a380..28b238b907faa10c92b70626305c2a654a868b90 100644 (file)
@@ -60,7 +60,7 @@ typedef struct {int fnum; FILE *fh[16];} FSTRUCT, *PFSTRUCT;
 
 static int direct[32];
 int MAX_FUNCS=10;
-static int STYP=1;
+
 
 typedef struct {char *entry; char *message; int headerpos; int type; int underline; int stay; int showalways;} LISTENTRY;
 typedef LISTENTRY *PLISTENTRY;
@@ -1584,7 +1584,7 @@ int llev=m->headerlevels[m->act_header], lmen=m->act_header, lentr=m->lastheader
 
 int main (int argc, char **argv)
 {
-       int index=0,cindex=0,mainloop=1,dloop=1,tv, spr, resolution;
+       int index=0,cindex=0,mainloop=1,tv, spr, resolution;
        char tstr[BUFSIZE]={0}, *rptr;
        PLISTENTRY pl;
 
@@ -1848,7 +1848,7 @@ int main (int argc, char **argv)
        while(mainloop)
        {
                cindex=Get_Selection(&menu);
-               dloop=1;
+
                switch(cindex)
                {
                        case -1: