Again please no // comments !!!!!!!! - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject Again please no // comments !!!!!!!!
Date
Msg-id 11C1E6749A55D411A9670001FA6879633680EB@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
Responses Re: Again please no // comments !!!!!!!!  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Again please no // comments !!!!!!!!  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
This somehow gets moot. Is there a way to make gcc reject those comments ?

Andreas

*** ./src/backend/utils/adt/varbit.c.orig    Wed Nov  1 10:00:22 2000
--- ./src/backend/utils/adt/varbit.c    Tue Nov  7 11:07:28 2000
***************
*** 1212,1218 ****                 is_match = ((cmp ^ *p) & mask1) == 0;                 if (!is_match)
   break;
 
!                 // Move on to the next byte                 p++;                 if (p == VARBITEND(arg)) {
         mask2 = end_mask << (BITS_PER_BYTE - is);
 
--- 1212,1218 ----                 is_match = ((cmp ^ *p) & mask1) == 0;                 if (!is_match)
   break;
 
!                 /* Move on to the next byte */                 p++;                 if (p == VARBITEND(arg)) {
            mask2 = end_mask << (BITS_PER_BYTE - is);
 




pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: Re: Horology regress test changed?
Next
From: Hiroshi Inoue
Date:
Subject: refcnt leak ?