Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1c8783

Browse files
committed
Add a useless return statement to suppress a warning seen with some
versions of gcc (I'm seeing it with Apple's gcc 4.0.1). I think thereason we did not see this before was that the assert() macros in theregex code were all no-ops till recently.
1 parent1ea47dd commitf1c8783

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/regex/regc_lex.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2929
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030
*
31-
* $PostgreSQL: pgsql/src/backend/regex/regc_lex.c,v 1.5 2005/10/1502:49:24 momjian Exp $
31+
* $PostgreSQL: pgsql/src/backend/regex/regc_lex.c,v 1.6 2007/10/22 01:02:22 tgl Exp $
3232
*
3333
*/
3434

@@ -1071,6 +1071,7 @@ brenext(struct vars * v,
10711071
}
10721072

10731073
assert(NOTREACHED);
1074+
return0;
10741075
}
10751076

10761077
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp