diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-12-29 16:20:55 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-12-29 22:29:06 +0100 |
commit | ce1d4907f22154172f730a6d5345ae6a5150a9b9 (patch) | |
tree | 7e75062cb7072088788037e10d5bc1dbfdc12e91 /fatfs | |
parent | 17ae5549dcf74e6a99c0d5d29adc8f9cc2931c12 (diff) | |
download | hurd-ce1d4907f22154172f730a6d5345ae6a5150a9b9.tar.gz hurd-ce1d4907f22154172f730a6d5345ae6a5150a9b9.tar.bz2 hurd-ce1d4907f22154172f730a6d5345ae6a5150a9b9.zip |
Initialize a few error variables to avoid GCC warnings
Message-ID: <20231229212105.858759-1-flaviocruz@gmail.com>
Diffstat (limited to 'fatfs')
-rw-r--r-- | fatfs/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatfs/pager.c b/fatfs/pager.c index 36e7012c..efe02038 100644 --- a/fatfs/pager.c +++ b/fatfs/pager.c @@ -210,7 +210,7 @@ static error_t file_pager_read_huge_page (struct node *node, vm_offset_t page, void **buf, int *writelock) { - error_t err; + error_t err = 0; int offs = 0; pthread_rwlock_t *lock = NULL; int left = vm_page_size; |