summaryrefslogtreecommitdiff
path: root/src/dired.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-09-17 04:01:00 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-09-17 04:01:20 -0700
commit01c929bc640b48674d98feae1e821fb4924bf520 (patch)
treed9b38d24c117c8f9c6c3982eb95a2230d3be1275 /src/dired.c
parentc108d8ecc65c8e9626ce782213764d5d12508b43 (diff)
downloademacs-01c929bc640b48674d98feae1e821fb4924bf520.tar.gz
Pacify GCC -Wmaybe-uninitialized
* src/dired.c (directory_files_internal): Pacify GCC 7.4.0-1ubuntu1~18.04.1 x86-64.
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dired.c b/src/dired.c
index 5fc6ccd3ead..df03bc32cef 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -241,7 +241,7 @@ directory_files_internal (Lisp_Object directory, Lisp_Object full,
&& fast_string_match_internal (match, name, case_table) < 0)
continue;
- Lisp_Object fileattrs;
+ Lisp_Object fileattrs UNINIT;
if (attrs)
{
fileattrs = file_attributes (fd, dp->d_name, directory, name,