]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Remove superfluous cast of NULL pointer 603/head
authorChristof Meerwald <cmeerw@cmeerw.org>
Thu, 18 Dec 2025 18:54:20 +0000 (18:54 +0000)
committerChristof Meerwald <cmeerw@cmeerw.org>
Thu, 18 Dec 2025 18:54:20 +0000 (18:54 +0000)
ext/solv_xfopen.c

index a117a5822e81dd73ecfaf3cf31a6974f942c36c6..6bbeda7172ac0348da2274cf561dd435144f06ed 100644 (file)
@@ -33,7 +33,7 @@ FILE *solv_cookieopen(void *cookie, const char *mode,
   return funopen(cookie,
       (int (*)(void *, char *, int))(*mode == 'r' ? cread : NULL),             /* readfn */
       (int (*)(void *, const char *, int))(*mode == 'w' ? cwrite : NULL),      /* writefn */
-      (fpos_t (*)(void *, fpos_t, int))NULL,                                   /* seekfn */
+      NULL,                                                                    /* seekfn */
       cclose
       );
 #elif defined(HAVE_FOPENCOOKIE)