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 /trans | |
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 'trans')
-rw-r--r-- | trans/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/random.c b/trans/random.c index b68354e1..7e3d3eba 100644 --- a/trans/random.c +++ b/trans/random.c @@ -158,7 +158,7 @@ update_random_seed_file (void) static error_t read_random_seed_file (void) { - error_t err; + error_t err = 0; int fd; struct stat s; void *map; |