Skip to content

Commit 60c9065

Browse files
void
1 parent fd5ab4f commit 60c9065

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libdispatch/dinfermodel.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,10 +1547,10 @@ NC_interpret_magic_number(char* magic, NCmodel* model)
15471547

15481548
/* Define a macro to wrap getxattr calls */
15491549
#ifdef __APPLE__
1550-
#define GETXATTR(path,p,xvalue,xlen) (void)getxattr(path, p, xvalue, (size_t)xlen, 0, 0);
1550+
#define GETXATTR(path,p,xvalue,xlen) getxattr(path, p, xvalue, (size_t)xlen, 0, 0);
15511551
#define LISTXATTR(path,xlist,xlen) listxattr(path, xlist, (size_t)xlen, 0)
15521552
#else
1553-
#define GETXATTR(path,p,xvalue,xlen) (void)getxattr(path, p, xvalue, (size_t)xlen);
1553+
#define GETXATTR(path,p,xvalue,xlen) getxattr(path, p, xvalue, (size_t)xlen);
15541554
#define LISTXATTR(path,xlist,xlen) listxattr(path, xlist, (size_t)xlen)
15551555
#endif
15561556

0 commit comments

Comments
 (0)