Snippets for perl:event 1.29 from Fedora x86_64
Sourced from https://kojipkgs.fedoraproject.org/packages/perl-Event/1.29/1.fc46/data/logs/x86_64/build.log.
-
ppport.h:43:42: warning: ‘/*’ within comment [-Wcomment] 43 | perl -x ppport.h *.c *.h *.xs foo/*.c [etc]
-
Event.xs:43:12: warning: unused variable ‘n_a’ [-Wunused-variable] 43 | STRLEN n_a; | ^~~ -
Event.xs:66:12: warning: unused variable ‘n_a’ [-Wunused-variable] 66 | STRLEN n_a; | ^~~ -
Event.xs:178:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 178 | while (entry = hv_iternext(ohv)) { | ^~~~~ -
c/timeable.c:3:27: warning: ‘/*’ within comment [-Wcomment] 3 | /*#define D_TIMEABLE(x) x /**/ -
c/timeable.c:22:27: warning: ‘/*’ within comment [-Wcomment] 22 | /*db_show_timeables();/**/
-
c/timeable.c:64:58: warning: ‘/*’ within comment [-Wcomment] 64 | /*warn("-- adding 0x%x:\n", ev); db_show_timeables();/**/ -
c/timeable.c:66:41: warning: ‘/*’ within comment [-Wcomment] 66 | /*warn("T:\n"); db_show_timeables();/**/ -
c/idle.c:4:24: warning: ‘/*’ within comment [-Wcomment] 4 | /*#define D_IDLE(x) x /**/ -
c/timer.c:23:12: warning: unused variable ‘n_a’ [-Wunused-variable] 23 | STRLEN n_a; | ^~~ -
c/var.c:56:12: warning: unused variable ‘n_a’ [-Wunused-variable] 56 | STRLEN n_a; | ^~~ -
c/signal.c:91:58: warning: ‘/*’ within comment [-Wcomment] 91 | /*warn("whichsig(%s) = %d", SvPV(nval,na), sig); /**/ -
c/group.c:51:12: warning: unused variable ‘n_a’ [-Wunused-variable] 51 | STRLEN n_a; | ^~~ -
c/queue.c:75:68: warning: ‘/*’ within comment [-Wcomment] 75 | /* warn("-- adding 0x%x/%d\n", ev, prio); db_show_queue();/**/ -
c/queue.c:81:42: warning: ‘/*’ within comment [-Wcomment] 81 | /* warn("=\n"); db_show_queue();/**/ -
c/queue.c:152:59: warning: ‘/*’ within comment [-Wcomment] 152 | warn("Event: ActiveWatchers=%d\n", ActiveWatchers); /**/ -
Event.c:576:17: warning: unused variable ‘RETVAL’ [-Wunused-variable] 576 | bool RETVAL; | ^~~~~~ -
/usr/lib64/perl5/CORE/XSUB.h:181:28: warning: unused variable ‘targ’ [-Wunused-variable] 181 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ -
Event.c:828:17: warning: unused variable ‘RETVAL’ [-Wunused-variable] 828 | int RETVAL; | ^~~~~~ -
Event.c:1210:25: warning: unused variable ‘THIS’ [-Wunused-variable] 1210 | pe_watcher * THIS = (pe_watcher *) sv_2watcher(ST(0)) | ^~~~ -
c/queue.c:18:13: warning: ‘db_show_queue’ defined but not used [-Wunused-function] 18 | static void db_show_queue() { | ^~~~~~~~~~~~~ -
c/watcher.c:223:10: warning: ‘_watcher_suspend’ defined but not used [-Wunused-function] 223 | WKEYMETH(_watcher_suspend) { | ^~~~~~~~~~~~~~~~ -
c/ev.c:171:10: warning: ‘_event_data’ defined but not used [-Wunused-function] 171 | EKEYMETH(_event_data) { | ^~~~~~~~~~~ -
c/ev.c:135:10: warning: ‘_event_got’ defined but not used [-Wunused-function] 135 | EKEYMETH(_event_got) { | ^~~~~~~~~~ -
c/ev.c:102:10: warning: ‘_event_prio’ defined but not used [-Wunused-function] 102 | EKEYMETH(_event_prio) { | ^~~~~~~~~~~ -
c/ev.c:93:10: warning: ‘_event_hits’ defined but not used [-Wunused-function] 93 | EKEYMETH(_event_hits) { | ^~~~~~~~~~~ -
c/timeable.c:86:13: warning: ‘pe_timeable_adjust’ defined but not used [-Wunused-function] 86 | static void pe_timeable_adjust(NV delta) { | ^~~~~~~~~~~~~~~~~~ -
c/timeable.c:6:13: warning: ‘db_show_timeables’ defined but not used [-Wunused-function] 6 | static void db_show_timeables() | ^~~~~~~~~~~~~~~~~ -
Event.xs:185:13: warning: ‘pe_watcher_STORE_FALLBACK’ defined but not used [-Wunused-function] 185 | static void pe_watcher_STORE_FALLBACK(pe_watcher *wa, SV *svkey, SV *nval) | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
Event.xs:174:12: warning: ‘event_newHVhv’ defined but not used [-Wunused-function] 174 | static HV *event_newHVhv(HV *ohv) { | ^~~~~~~~~~~~~ -
Event.xs:123:13: warning: ‘dbg_count_memory’ defined but not used [-Wunused-function] 123 | static void dbg_count_memory(int id, int cnt) { | ^~~~~~~~~~~~~~~~ -
lib/Event/EventAPI.h:246:25: warning: ‘GEventAPI’ defined but not used [-Wunused-variable] 246 | static struct EventAPI *GEventAPI=0; | ^~~~~~~~~ -
/usr/lib64/perl5/CORE/embed.h:671:49: warning: ‘sv’ may be used uninitialized [-Wmaybe-uninitialized] 671 | # define sv_dump(a) Perl_sv_dump(aTHX_ a) | ^~~~~~~~~~~~~~~~~~~~~ -
Event.xs:474:9: warning: ‘ev’ may be used uninitialized [-Wmaybe-uninitialized] 474 | queueEvent(ev); | ^~~~~~~~~~~~~~