Update of /usr/cvs/Public/pygresql/module
In directory druid.net:/tmp/cvs-serv607/pygresql/module

Modified Files:
        pgmodule.c 
Log Message:
Add comments to make it clear that some case statements fall through to
the next case.  Also keeps lint quiet.


To see the diffs for this commit:
   
http://www.druid.net/pygresql/viewcvs.cgi/cvs/pygresql/module/pgmodule.c.diff?r1=1.90&r2=1.91

Index: pgmodule.c
===================================================================
RCS file: /usr/cvs/Public/pygresql/module/pgmodule.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -p -u -r1.90 -r1.91
--- pgmodule.c  3 Dec 2008 00:17:15 -0000       1.90
+++ pgmodule.c  17 Oct 2009 14:56:01 -0000      1.91
@@ -1,5 +1,5 @@
 /*
- * $Id: pgmodule.c,v 1.90 2008/12/03 00:17:15 cito Exp $
+ * $Id: pgmodule.c,v 1.91 2009/10/17 14:56:01 darcy Exp $
  * PyGres, version 2.2 A Python interface for PostgreSQL database. Written by
  * D'Arcy J.M. Cain, ([email protected]).  Based heavily on code written by
  * Pascal Andre, [email protected]. Copyright (c) 1995, Pascal Andre
@@ -1977,6 +1977,7 @@ pgquery_getresult(pgqueryobject * self, 
                                                cashbuf[k] = 0;
                                                s = cashbuf;
 
+                    /* FALLTHROUGH */
                                        case 4:
                                                if (decimal)
                                                {
@@ -2101,6 +2102,7 @@ pgquery_dictresult(pgqueryobject * self,
                                                cashbuf[k] = 0;
                                                s = cashbuf;
 
+                    /* FALLTHROUGH */
                                        case 4:
                                                if (decimal)
                                                {

_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to