pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp/src/data datasheet.c [simpler-proc]


From: Ben Pfaff
Subject: [Pspp-cvs] pspp/src/data datasheet.c [simpler-proc]
Date: Sun, 22 Apr 2007 20:46:48 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Branch:         simpler-proc
Changes by:     Ben Pfaff <blp> 07/04/22 20:46:48

Modified files:
        src/data       : datasheet.c 

Log message:
        Apply more of John's suggestions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/datasheet.c?cvsroot=pspp&only_with_tag=simpler-proc&r1=1.1.2.10&r2=1.1.2.11

Patches:
Index: datasheet.c
===================================================================
RCS file: /cvsroot/pspp/pspp/src/data/Attic/datasheet.c,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -u -b -r1.1.2.10 -r1.1.2.11
--- datasheet.c 22 Apr 2007 17:04:02 -0000      1.1.2.10
+++ datasheet.c 22 Apr 2007 20:46:48 -0000      1.1.2.11
@@ -219,9 +219,6 @@
 datasheet_rename (struct datasheet *ds) 
 {
   struct datasheet *new = xmemdup (ds, sizeof *ds);
-#ifndef NDEBUG
-  memset (ds, 0xcc, sizeof *ds);
-#endif
   free (ds);
   return new;
 }
@@ -1245,8 +1242,8 @@
   assert (row_cnt < MAX_ROWS);
   assert (column_cnt < MAX_COLS);
 
-  /* If it's has a duplicate hash, discard the state before
-     checking its consistency, to save time. */
+  /* If it is a duplicate hash, discard the state before checking
+     its consistency, to save time. */
   if (mc_discard_dup_state (mc, hash_datasheet (ds)))
     {
       datasheet_destroy (ds);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]