diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2015-12-29 23:08:32 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-12-29 23:12:42 +0100 |
commit | b290ced29400ff6276c8438129236f99f50c3ff9 (patch) | |
tree | e2813f1421494324df6ef3bb3ca8f0efd821d593 /libstore/decode.c | |
parent | adeeb9990e6302482b38267fd517a2516d5b9e2a (diff) | |
download | hurd-b290ced29400ff6276c8438129236f99f50c3ff9.tar.gz hurd-b290ced29400ff6276c8438129236f99f50c3ff9.tar.bz2 hurd-b290ced29400ff6276c8438129236f99f50c3ff9.zip |
fix compiler warnings in hurd/libstore
Diffstat (limited to 'libstore/decode.c')
-rw-r--r-- | libstore/decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstore/decode.c b/libstore/decode.c index 64405ecd..4bb23c19 100644 --- a/libstore/decode.c +++ b/libstore/decode.c @@ -35,7 +35,7 @@ store_std_leaf_decode (struct store_enc *enc, { char *misc, *name; error_t err; - int type, flags; + int flags; mach_port_t port; size_t block_size, num_runs, name_len, misc_len; /* Call CREATE appriately from within store_with_decoded_runs. */ @@ -49,7 +49,7 @@ store_std_leaf_decode (struct store_enc *enc, return EINVAL; /* Read encoded ints. */ - type = enc->ints[enc->cur_int++]; + enc->cur_int++; /* Ignore type. */ flags = enc->ints[enc->cur_int++]; block_size = enc->ints[enc->cur_int++]; num_runs = enc->ints[enc->cur_int++]; |