aboutsummaryrefslogtreecommitdiff
path: root/libbb/lineedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index c5d5808f5..b4950688e 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -972,9 +972,6 @@ static NOINLINE unsigned complete_cmd_dir_file(const char *command, int type)
972 } 972 }
973 973
974 lpath = *paths[i] ? paths[i] : "."; 974 lpath = *paths[i] ? paths[i] : ".";
975#if ENABLE_PLATFORM_MINGW32
976 lpath = auto_string(alloc_system_drive(lpath));
977#endif
978 dir = opendir(lpath); 975 dir = opendir(lpath);
979 if (!dir) 976 if (!dir)
980 continue; /* don't print an error */ 977 continue; /* don't print an error */