ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/a/acm/acm_5.0.orig.tar.gz VOpenVp.c:23:31: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] v->flags & (VPFastAnimation || VPDoubleBuffer)) { ^ ~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/b/blktool/blktool_4.orig.tar.gz ata.c:451:11: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (tmp && (1 << 15)) ^ ~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/c/cciss-vol-status/cciss-vol-status_1.11.orig.tar.gz cciss_vol_status.c:623:42: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] big_map_support = (id->controller_flags && (1<<7)); ^ ~~~~~~ cciss_vol_status.c:987:42: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] big_map_support = (id->controller_flags && (1<<7)); ^ ~~~~~~ cciss_vol_status.c:2457:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] return id->controller_flags && (1<<7); ^ ~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/c/clamsmtp/clamsmtp_1.10.orig.tar.gz ../common/sock_any.c:370:19: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if(!(opts && SANY_OPT_NOPORT) && a1->s.in.sin_port != a2->s.in.sin_port) ^ ~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/e/emboss/emboss_6.6.0+dfsg.orig.tar.xz plot3d.c:933:54: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if ((opt & BASE_CONT) || (opt & TOP_CONT) || (opt && MAG_COLOR)) { ^ ~~~~~~~~~ plpage.c:162:22: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (plsc->difilt && PLDI_ORI) { ^ ~~~~~~~~ ajtaxwrite.c:257:46: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] ajFmtPrintF(outf, "\t%u\t|", (tax->Flags && 2)); ^ ~ ajtaxwrite.c:259:46: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] ajFmtPrintF(outf, "\t%u\t|", (tax->Flags && 4)); ^ ~ ajtaxwrite.c:260:46: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] ajFmtPrintF(outf, "\t%u\t|", (tax->Flags && 8)); ^ ~ ajtaxwrite.c:261:46: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] ajFmtPrintF(outf, "\t%u\t|", (tax->Flags && 16)); ^ ~~ ajtaxwrite.c:311:51: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] ajFmtPrintF(outf, "gcflag: %u\n", (tax->Flags && 2)); ^ ~ ajtaxwrite.c:313:51: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] ajFmtPrintF(outf, "mgcflag %u\n", (tax->Flags && 4)); ^ ~ ajtaxwrite.c:314:51: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] ajFmtPrintF(outf, "hidden: %u\n", (tax->Flags && 8)); ^ ~ ajtaxwrite.c:315:55: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] ajFmtPrintF(outf, "nosequence: %u\n", (tax->Flags && 16)); ^ ~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/f/fcml/fcml_1.1.1.orig.tar.gz fcml_encoding.c:622:49: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] if ( ( operand_size == FCML_DS_16 * 2 ) || ( FCML_DS_32 * 2 ) || ( FCML_DS_64 * 2 ) ) { ^ ~~~~~~~~~~~~~~~~~~ fcml_encoding.c:622:71: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] if ( ( operand_size == FCML_DS_16 * 2 ) || ( FCML_DS_32 * 2 ) || ( FCML_DS_64 * 2 ) ) { ^ ~~~~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/g/gnu-smalltalk/gnu-smalltalk_3.2.5.orig.tar.gz prims.def:5488:32: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] access = TO_INT (oopVec[2]) && (O_RDONLY | O_WRONLY | O_RDWR); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/g/gtk+2.0/gtk+2.0_2.24.28.orig.tar.xz gdk.c:270:24: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (_gdk_debug_flags && GDK_DEBUG_GDKRGB) ^ ~~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/g/gtk2-engines/gtk2-engines_2.20.2.orig.tar.bz2 ./src/crux-draw.c:1224:40: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] else if (arrow_type == GTK_ARROW_LEFT || GTK_ARROW_RIGHT) ^ ~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/g/gtk2-engines-aurora/gtk2-engines-aurora_1.5.1.orig.tar.gz ./src/support.c:669:39: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] if (shadow == (GTK_SHADOW_IN || GTK_SHADOW_ETCHED_IN)) ^ ~~~~~~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/g/gwyddion/gwyddion_2.41.orig.tar.xz anfatec.c:174:29: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] || G_FILE_TEST_IS_SYMLINK)) { ^ ~~~~~~~~~~~~~~~~~~~~~~ anfatec.c:181:29: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] || G_FILE_TEST_IS_SYMLINK)) { ^ ~~~~~~~~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/i/infernal/infernal_1.1.1.orig.tar.gz esl_msafile.c:194:99: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] if (status == eslENOTFOUND || status == eslFAIL || status == eslEFORMAT || status == eslENODATA || eslENOALPHABET) ^ ~~~~~~~~~~~~~~ esl_msafile.c:228:99: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] if (status == eslENOTFOUND || status == eslFAIL || status == eslEFORMAT || status == eslENODATA || eslENOALPHABET) ^ ~~~~~~~~~~~~~~ esl_msafile.c:257:99: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] if (status == eslENOTFOUND || status == eslFAIL || status == eslEFORMAT || status == eslENODATA || eslENOALPHABET) ^ ~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/l/lives/lives_2.4.0~ds0.orig.tar.bz2 callbacks.c:2826:83: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if ((!(prefs->warning_mask&WARN_MASK_LAYOUT_SHIFT_FRAMES)||(!prefs->warning_mask&&WARN_MASK_LAYOUT_ALTER_FRAMES))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:2874:41: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] (!prefs->warning_mask&&WARN_MASK_LAYOUT_ALTER_AUDIO))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/m/m17n-lib/m17n-lib_1.7.0.orig.tar.gz draw.c:736:22: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] : (((g->type && GLYPH_ANCHOR) || control->align_head) ^ ~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/p/patch/patch_2.7.5.orig.tar.xz util.c:562:22: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (! (O_CREAT && O_TRUNC)) ^ ~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/p/pilot-link/pilot-link_0.12.5.orig.tar.gz sync.c:333:7: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] && dlpOpenSecret, sh->name, dbhandle); ^ ~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/p/proxsmtp/proxsmtp_1.8.orig.tar.gz ../common/sock_any.c:370:19: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if(!(opts && SANY_OPT_NOPORT) && a1->s.in.sin_port != a2->s.in.sin_port) ^ ~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/q/quagga/quagga_0.99.24.1.orig.tar.gz isis_lsp.c:953:37: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if ((ipv6_reach->control_info && ^ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/s/sane-backends/sane-backends_1.0.25+git20150528.orig.tar.gz microtek2.c:3912:26: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if ( md->model_flags && MD_OFFSET_2 ) /* this firmware has problems with */ ^ ~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/s/sipsak/sipsak_0.9.6.orig.tar.gz transport.c:206:23: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (sockerr.revents && POLLERR) { ^ ~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/s/swish-e/swish-e_2.4.7.orig.tar.gz compress.c:224:13: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (num && LITTLE_ENDIAN) ^ ~~~~~~~~~~~~~ compress.c:293:13: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (num && LITTLE_ENDIAN) ^ ~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/s/sylpheed/sylpheed_3.5.0~beta3.orig.tar.xz action.c:1221:13: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (!(cond && GDK_INPUT_WRITE)) ^ ~~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/t/tre/tre_0.8.0.orig.tar.gz tre-match-backtrack.c:603:42: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (stack->item.state->assertions && ASSERT_BACKREF) ^ ~~~~~~~~~~~~~~ ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/u/units/units_2.11.orig.tar.gz units.c:4041:12: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (!map && strlen(DATADIR)) { ^ ~~~~~~~~~~~~~~~ units.c:4135:17: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (!testfile && strlen(DATADIR)) { ^ ~~~~~~~~~~~~~~~ ========================================================== number of projects scanned: 2196 number of warnings: 42