X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=bin%2Fad%2Fad_set.c;h=af825093c1de8c2709955b4c9c57944db8124976;hb=48af5314c0219b42d13057d907e6837de437a015;hp=d41d5222040d8dce083e9e191d0a8807c71db990;hpb=b3c52ea7097b09cafe6002acca2c996f1f5ea2fb;p=netatalk.git diff --git a/bin/ad/ad_set.c b/bin/ad/ad_set.c index d41d5222..af825093 100644 --- a/bin/ad/ad_set.c +++ b/bin/ad/ad_set.c @@ -140,7 +140,6 @@ static void change_label(char *path, afpvol_t *vol, const struct stat *st, struc static void change_attributes(char *path, afpvol_t *vol, const struct stat *st, struct adouble *ad, char *new_attributes) { - char *FinderInfo; uint16_t AFPattributes; ad_getattr(ad, &AFPattributes); @@ -256,7 +255,7 @@ static void change_flags(char *path, afpvol_t *vol, const struct stat *st, struc int ad_set(int argc, char **argv, AFPObj *obj) { - int c, firstarg; + int c; afpvol_t vol; struct stat st; int adflags = 0;