]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/adouble/ad_write.c
Fix compiler diagnostics
[netatalk.git] / libatalk / adouble / ad_write.c
index 6e8a0190ca0d4dca75f4453d8acb738d37154d4f..a807c1de748e7ae0da06f93f9643654cee0dbbac 100644 (file)
@@ -52,7 +52,6 @@ ssize_t ad_write(struct adouble *ad, uint32_t eid, off_t off, int end, const cha
     EC_INIT;
     struct stat                st;
     ssize_t            cc;
-    size_t roundup;
     off_t    r_off;
 
     if (ad_data_fileno(ad) == AD_SYMLINK) {
@@ -94,7 +93,6 @@ ssize_t ad_write(struct adouble *ad, uint32_t eid, off_t off, int end, const cha
         return -1; /* we don't know how to write if it's not a ressource or data fork */
     }
 
-EC_CLEANUP:
     if (ret != 0)
         return ret;
     return( cc );