mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
This somehow gets moot. Is there a way to make gcc reject those comments?
Andreas
This commit is contained in:
parent
f27da05c00
commit
3af2827f5b
@ -9,7 +9,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.10 2000/10/31 10:22:11 petere Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.11 2000/11/07 11:35:16 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1212,7 +1212,7 @@ bitposition(PG_FUNCTION_ARGS)
|
|||||||
is_match = ((cmp ^ *p) & mask1) == 0;
|
is_match = ((cmp ^ *p) & mask1) == 0;
|
||||||
if (!is_match)
|
if (!is_match)
|
||||||
break;
|
break;
|
||||||
// Move on to the next byte
|
/* Move on to the next byte */
|
||||||
p++;
|
p++;
|
||||||
if (p == VARBITEND(arg)) {
|
if (p == VARBITEND(arg)) {
|
||||||
mask2 = end_mask << (BITS_PER_BYTE - is);
|
mask2 = end_mask << (BITS_PER_BYTE - is);
|
||||||
|
Loading…
Reference in New Issue
Block a user