Fix a couple of stray // comments.

This commit is contained in:
Tom Lane 2001-10-01 17:53:12 +00:00
parent 77d2622498
commit 6d18c038b7
2 changed files with 6 additions and 8 deletions

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/contrib/rtree_gist/Attic/rtree_gist.c,v 1.2 2001/08/22 18:24:26 tgl Exp $ * $Header: /cvsroot/pgsql/contrib/rtree_gist/Attic/rtree_gist.c,v 1.3 2001/10/01 17:53:11 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -275,13 +275,11 @@ gbox_picksplit(PG_FUNCTION_ARGS)
sizeLR = size_box( interLR ); sizeLR = size_box( interLR );
sizeBT = size_box( interBT ); sizeBT = size_box( interBT );
if ( sizeLR < sizeBT ) { if ( sizeLR < sizeBT )
direction = 'x'; direction = 'x';
//} else if ( sizeLR > sizeBT ) { else
} else {
direction = 'y'; direction = 'y';
} }
}
if ( direction == 'x' ) { if ( direction == 'x' ) {
pfree( unionB ); pfree( listB ); pfree( unionB ); pfree( listB );

View File

@ -29,7 +29,7 @@
* MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.5 2001/09/12 03:03:25 momjian Exp $ * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.6 2001/10/01 17:53:12 tgl Exp $
* *
********************************************************************* *********************************************************************
*/ */
@ -2325,7 +2325,7 @@ PLy_init_plpy(void)
plpy = Py_InitModule("plpy", PLy_methods); plpy = Py_InitModule("plpy", PLy_methods);
plpy_dict = PyModule_GetDict(plpy); plpy_dict = PyModule_GetDict(plpy);
//PyDict_SetItemString(plpy, "PlanType", (PyObject *) &PLy_PlanType); /* PyDict_SetItemString(plpy, "PlanType", (PyObject *) &PLy_PlanType); */
PLy_exc_error = PyErr_NewException("plpy.Error", NULL, NULL); PLy_exc_error = PyErr_NewException("plpy.Error", NULL, NULL);
PLy_exc_fatal = PyErr_NewException("plpy.Fatal", NULL, NULL); PLy_exc_fatal = PyErr_NewException("plpy.Fatal", NULL, NULL);