Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6d18c03

Browse files
committed
Fix a couple of stray // comments.
1 parent 77d2622 commit 6d18c03

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

contrib/rtree_gist/rtree_gist.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/contrib/rtree_gist/Attic/rtree_gist.c,v 1.2 2001/08/22 18:24:26 tgl Exp $
10+
* $Header: /cvsroot/pgsql/contrib/rtree_gist/Attic/rtree_gist.c,v 1.3 2001/10/01 17:53:11 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -275,13 +275,11 @@ gbox_picksplit(PG_FUNCTION_ARGS)
275275
sizeLR = size_box( interLR );
276276
sizeBT = size_box( interBT );
277277

278-
if ( sizeLR < sizeBT ) {
278+
if ( sizeLR < sizeBT )
279279
direction = 'x';
280-
//} else if ( sizeLR > sizeBT ) {
281-
} else {
280+
else
282281
direction = 'y';
283-
}
284-
}
282+
}
285283

286284
if ( direction == 'x' ) {
287285
pfree( unionB ); pfree( listB );

src/pl/plpython/plpython.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
3030
*
3131
* IDENTIFICATION
32-
* $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.5 2001/09/12 03:03:25 momjian Exp $
32+
* $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.6 2001/10/01 17:53:12 tgl Exp $
3333
*
3434
*********************************************************************
3535
*/
@@ -2325,7 +2325,7 @@ PLy_init_plpy(void)
23252325
plpy = Py_InitModule("plpy", PLy_methods);
23262326
plpy_dict = PyModule_GetDict(plpy);
23272327

2328-
//PyDict_SetItemString(plpy, "PlanType", (PyObject *) &PLy_PlanType);
2328+
/* PyDict_SetItemString(plpy, "PlanType", (PyObject *) &PLy_PlanType); */
23292329

23302330
PLy_exc_error = PyErr_NewException("plpy.Error", NULL, NULL);
23312331
PLy_exc_fatal = PyErr_NewException("plpy.Fatal", NULL, NULL);

0 commit comments

Comments
 (0)