summaryrefslogtreecommitdiff
path: root/src/bin/tyls.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung@gmail.com>2013-03-12 02:00:30 +0900
committerDaniel Juyung Seo <seojuyung@gmail.com>2013-03-12 02:00:30 +0900
commite34ac907394e7552d5b5c66e613e0571137493d0 (patch)
treec4db57bf5d2de4c0d51822f2a06e31430c94992c /src/bin/tyls.c
parent150799348a97e90b75477d0c0f4b792dd69bbcb5 (diff)
tyls.c: removed unused variables.
Diffstat (limited to 'src/bin/tyls.c')
-rw-r--r--src/bin/tyls.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bin/tyls.c b/src/bin/tyls.c
index 4fb86aa..de3935a 100644
--- a/src/bin/tyls.c
+++ b/src/bin/tyls.c
@@ -521,7 +521,6 @@ static const char *
521fileicon(const char *path) 521fileicon(const char *path)
522{ 522{
523 Eina_Bool isdir = EINA_FALSE; 523 Eina_Bool isdir = EINA_FALSE;
524 Eina_Bool islink = EINA_FALSE;
525 Eina_Bool isexec = EINA_FALSE; 524 Eina_Bool isexec = EINA_FALSE;
526 const char *name; 525 const char *name;
527 526
@@ -534,7 +533,6 @@ fileicon(const char *path)
534 ts = ecore_file_readlink(path); 533 ts = ecore_file_readlink(path);
535 if (ts) 534 if (ts)
536 { 535 {
537 islink = EINA_TRUE;
538 free(ts); 536 free(ts);
539 } 537 }
540 if (ecore_file_can_exec(path)) isexec = EINA_TRUE; 538 if (ecore_file_can_exec(path)) isexec = EINA_TRUE;
@@ -638,7 +636,7 @@ list_dir(const char *dir, int mode)
638{ 636{
639 Eina_List *files, *l; 637 Eina_List *files, *l;
640 char *s, **names; 638 char *s, **names;
641 int maxlen = 0, cols, c, rows, i, j, k, num, cw, stuff; 639 int maxlen = 0, cols, c, rows, i, j, num, cw, stuff;
642 640
643 files = ecore_file_ls(dir); 641 files = ecore_file_ls(dir);
644 if (!files) return; 642 if (!files) return;
@@ -773,8 +771,6 @@ int
773main(int argc, char **argv) 771main(int argc, char **argv)
774{ 772{
775 char buf[64]; 773 char buf[64];
776 int w = 0, h = 0;
777 int iw = 0, ih = 0;
778 Eina_Bool listed = EINA_FALSE; 774 Eina_Bool listed = EINA_FALSE;
779 775
780 if (!getenv("TERMINOLOGY")) return 0; 776 if (!getenv("TERMINOLOGY")) return 0;