Snippets for libmatchbox 1.9 from Fedora x86_64
Sourced from https://kojipkgs.fedoraproject.org/packages/libmatchbox/1.9/42.fc45/data/logs/x86_64/build.log.
-
hash.c:78:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 78 | memset(h->hashtab, 0, sizeof(h->hashtab)); | ^ -
mbutil.c:381:1: warning: control reaches end of non-void function [-Wreturn-type] 381 | } | ^ -
mbpixbuf.c:1401:25: warning: value computed is not used [-Wunused-value] 1401 | { *p = a; *p++; } | ^~~~ -
mbpixbuf.c:231:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | fread( header, 1, 8, fd ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
mbpixbuf.c:384:23: warning: pointer 'file_355' may be used after 'fclose' [-Wuse-after-free] 384 | fclose(file); | ^~~~~~~~~~~~ -
/usr/include/bits/string_fortified.h:112:10: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 112 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mbdotdesktop.c:286:5: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 286 | strncpy(theme_name_cur, theme_name, 512); | ^ -
mbexp.c:409:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] 409 | g_type_init() ; | ^~~~~~~~~~~ -
mbexp.c:432:4: warning: 'pango_xft_get_context' is deprecated [-Wdeprecated-declarations] 432 | font->pgo_context = pango_xft_get_context (font->dpy, DefaultScreen(dpy)); | ^~~~ -
mbexp.c:794:22: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 794 | str = strdup(txt); | ^~~ | | | unsigned char * -
mbexp.c:991:23: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 991 | str = strdup(text); | ^~~~ | | | unsigned char * -
mbexp.c:991:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 991 | str = strdup(text); | ^ -
mbexp.c:994:59: warning: pointer targets in passing argument 2 of 'pango_itemize' differ in signedness [-Wpointer-sign] 994 | items_head = items = pango_itemize (font->pgo_context, str, | ^~~ | | | unsigned char * -
mbexp.c:1005:22: warning: pointer targets in passing argument 1 of 'pango_shape' differ in signedness [-Wpointer-sign] 1005 | pango_shape (&str[this->offset], this->length, | ^~~~~~~~~~~~~~~~~~ | | | unsigned char * -
mbexp.c:1066:30: warning: variable 'orig_len' set but not used [-Wunused-but-set-variable=] 1066 | int render_w = 0, len = 0, orig_len = 0; | ^~~~~~~~ -
mbexp.c:1160:30: warning: variable 'orig_len' set but not used [-Wunused-but-set-variable=] 1160 | int render_w = 0, len = 0, orig_len = 0; | ^~~~~~~~ -
mbexp.c:1252:22: warning: value computed is not used [-Wunused-value] 1252 | nbytes++; *txt++; | ^~~~~~ -
mbexp.c:1586:3: warning: value computed is not used [-Wunused-value] 1586 | *s++; | ^~~~ -
mbexp.c:1592:5: warning: value computed is not used [-Wunused-value] 1592 | *s++; | ^~~~ -
mbexp.c:1555:21: warning: variable 'mask' set but not used [-Wunused-but-set-variable=] 1555 | unsigned char *s, mask; | ^~~~ -
mbmenu.c:805:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 805 | switch (key = XKeycodeToKeysym (mb->dpy, an_event->xkey.keycode, 0)) | ^~~~~~ -
mbmenu.c:1066:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1066 | memset(menu, 0, sizeof(menu)); | ^