From: didier g. <di...@us...> - 2009-07-21 13:41:26
|
Update of /cvsroot/netatalk/netatalk/libatalk/adouble In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8980/libatalk/adouble Modified Files: ad_attr.c ad_flush.c ad_open.c Log Message: remove trivial warnings Index: ad_attr.c =================================================================== RCS file: /cvsroot/netatalk/netatalk/libatalk/adouble/ad_attr.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ad_attr.c 19 Jun 2009 13:38:34 -0000 1.9 --- ad_attr.c 21 Jul 2009 13:41:16 -0000 1.10 *************** *** 21,26 **** int ad_getattr(const struct adouble *ad, u_int16_t *attr) { - *attr = 0; u_int16_t fflags; if (ad->ad_version == AD_VERSION1) { --- 21,26 ---- int ad_getattr(const struct adouble *ad, u_int16_t *attr) { u_int16_t fflags; + *attr = 0; if (ad->ad_version == AD_VERSION1) { Index: ad_open.c =================================================================== RCS file: /cvsroot/netatalk/netatalk/libatalk/adouble/ad_open.c,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** ad_open.c 20 Jul 2009 23:23:02 -0000 1.44 --- ad_open.c 21 Jul 2009 13:41:16 -0000 1.45 *************** *** 1137,1141 **** /* --------------------------- */ ! static int ad_check_size(struct adouble *ad, struct stat *st) { if (st->st_size > 0 && st->st_size < AD_DATASZ1) --- 1137,1141 ---- /* --------------------------- */ ! static int ad_check_size(struct adouble *ad _U_, struct stat *st) { if (st->st_size > 0 && st->st_size < AD_DATASZ1) *************** *** 1145,1149 **** /* --------------------------- */ ! static int ad_check_size_sfm(struct adouble *ad, struct stat *st) { if (st->st_size > 0 && st->st_size < AD_SFM_LEN) --- 1145,1149 ---- /* --------------------------- */ ! static int ad_check_size_sfm(struct adouble *ad _U_, struct stat *st) { if (st->st_size > 0 && st->st_size < AD_SFM_LEN) *************** *** 1165,1169 **** /* --------------------------- */ ! static int ad_header_upgrade_none(struct adouble *ad, char *name) { return 0; --- 1165,1169 ---- /* --------------------------- */ ! static int ad_header_upgrade_none(struct adouble *ad _U_, char *name _U_) { return 0; Index: ad_flush.c =================================================================== RCS file: /cvsroot/netatalk/netatalk/libatalk/adouble/ad_flush.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ad_flush.c 11 Apr 2007 01:11:10 -0000 1.9 --- ad_flush.c 21 Jul 2009 13:41:16 -0000 1.10 *************** *** 110,114 **** { u_int32_t eid; ! int len; for ( eid = 0; eid < ADEID_MAX; eid++ ) { --- 110,114 ---- { u_int32_t eid; ! u_int32_t len; for ( eid = 0; eid < ADEID_MAX; eid++ ) { |