1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-12-24 14:17:58 +03:00

Suppress the warning message about print_node() being unused in btree_rb.c.

Ticket #347. (CVS 1017)

FossilOrigin-Name: b52f07e1c894a52bb12459d03fd0efcee05dd08c
This commit is contained in:
drh
2003-06-10 02:46:15 +00:00
parent 7571c96c4c
commit 2e0d738b60
3 changed files with 13 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
C Remove\sredundant\s"return"\sstatement\sfrom\sbtree_rb.c.\s(CVS\s1016)
D 2003-06-09T11:53:13
C Suppress\sthe\swarning\smessage\sabout\sprint_node()\sbeing\sunused\sin\sbtree_rb.c.\nTicket\s#347.\s(CVS\s1017)
D 2003-06-10T02:46:15
F Makefile.in 98a14dc13a78ca0e12007e974c93aeb098db7f68
F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906
F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd
@@ -23,7 +23,7 @@ F src/attach.c 0f0dd4b0d2dbd7432a46bed74114c7cc8de4c8e3
F src/auth.c c8f50d4507e37779d96ff3c55417bc2b612dfed6
F src/btree.c 6656625305e5e99adda818a772bf7432a7b15d97
F src/btree.h 9b7c09f1e64274d7bb74a57bbfc63778f67b1048
F src/btree_rb.c f8c2cb0fc276c87f685dd7e61ee78372a9bc2f4d
F src/btree_rb.c a0dd64f840417b13637160599bd2740c8a340366
F src/build.c 936d10b33b326546280690bee7f20efaf19a6fe8
F src/copy.c 9e47975ea96751c658bcf1a0c4f0bb7c6ee61e73
F src/delete.c 0f81e6799c089487615d38e042a2de4d2d6192bc
@@ -165,7 +165,7 @@ F www/speed.tcl 296cc5632d069b56d3ef5409ca0df90f486c10fb
F www/sqlite.tcl 4bd1729e320f5fa9125f0022b281fbe839192125
F www/tclsqlite.tcl 1db15abeb446aad0caf0b95b8b9579720e4ea331
F www/vdbe.tcl 14fdcc7fe8a60a6ba8584903636db8dc37eef26a
P 190252fee0a86eb6f8c24a2402e36482e3bd514c
R 4b3b942c303798c00a8f192b881ce228
P 373d077173f1b31896dc0e0d724371dd506d52f3
R efcbe00be33c897746f862783b6620fa
U drh
Z c6a76e9f9b368cd131d46f27b2edd6d2
Z 3f14deec3abc2935a3d62723193da70a

View File

@@ -1 +1 @@
373d077173f1b31896dc0e0d724371dd506d52f3
b52f07e1c894a52bb12459d03fd0efcee05dd08c

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree_rb.c,v 1.12 2003/06/09 11:53:13 drh Exp $
** $Id: btree_rb.c,v 1.13 2003/06/10 02:46:15 drh Exp $
**
** This file implements an in-core database using Red-Black balanced
** binary trees.
@@ -276,12 +276,16 @@ static char *append_node(char * orig, BtRbNode *pNode, int indent)
/*
* Print a representation of a node to stdout. This function is only included
* so you can call it from within a debugger if things get really bad.
* so you can call it from within a debugger if things get really bad. It
* is not called from anyplace in the code.
*/
static void print_node(BtRbNode *pNode)
{
char * str = append_node(0, pNode, 0);
printf(str);
/* Suppress a warning message about print_node() being unused */
(void)print_node;
}
/*