[med-svn] [Git][med-team/dazzdb][upstream] New upstream version 1.0+git20201103.8d98c37

Andreas Tille gitlab at salsa.debian.org
Tue Jan 19 09:04:35 GMT 2021



Andreas Tille pushed to branch upstream at Debian Med / dazzdb


Commits:
f97db53f by Andreas Tille at 2021-01-19T10:01:57+01:00
New upstream version 1.0+git20201103.8d98c37
- - - - -


3 changed files:

- DBa2b.c
- DBdump.c
- DBshow.c


Changes:

=====================================
DBa2b.c
=====================================
@@ -95,12 +95,15 @@ int main(int argc, char *argv[])
           fwrite(buffer[(int) code],sizeof(char),len,stdout);
           break;
         case 'T':                         //  Mask
-          scanf("%d %d",&mno,&len);
-          for (int i = 0; i < len; i++)
-            scanf(" %d %d",masks[mno]+2*i,masks[mno]+2*i+1);
-          fwrite(&mno,sizeof(int),1,stdout);
-          fwrite(&len,sizeof(int),1,stdout);
-          fwrite(masks[mno],sizeof(int),2*len,stdout);
+          { int i;
+
+            scanf("%d %d",&mno,&len);
+            for (i = 0; i < len; i++)
+              scanf(" %d %d",masks[mno]+2*i,masks[mno]+2*i+1);
+            fwrite(&mno,sizeof(int),1,stdout);
+            fwrite(&len,sizeof(int),1,stdout);
+            fwrite(masks[mno],sizeof(int),2*len,stdout);
+          }
       }
     }
 


=====================================
DBdump.c
=====================================
@@ -111,7 +111,7 @@ int main(int argc, char *argv[])
   DAZZ_TRACK **MTRACK;
   int       **MDATA;
 
-  DAZZ_TRACK *qv_track;
+  DAZZ_TRACK *qv_track = NULL;
   uint8      *qv_data = NULL;
 
   //  Process arguments


=====================================
DBshow.c
=====================================
@@ -81,18 +81,19 @@ int next_read(File_Iterator *it)
 
 int main(int argc, char *argv[])
 { DAZZ_DB    _db, *db = &_db;
-  DAZZ_STUB  *stub;
+  DAZZ_STUB  *stub = NULL;
   FILE       *hdrs = NULL;
   char       *hdrs_name = NULL;
 
   int         nfiles;
-  char      **flist;
-  int        *findx;
+  char      **flist = NULL;
+  int        *findx = NULL;
 
-  int            reps, *pts;
+  int            reps = 0;
+  int           *pts = NULL;
   int            input_pts;
   File_Iterator *iter = NULL;
-  FILE          *input;
+  FILE          *input = NULL;
 
   int         TRIM, UPPER;
   int         DOSEQ, DOQVS, DOARR, QUIVA, ARROW, DAM;



View it on GitLab: https://salsa.debian.org/med-team/dazzdb/-/commit/f97db53fcfaa4e041c427acdde9358a0188405bb

-- 
View it on GitLab: https://salsa.debian.org/med-team/dazzdb/-/commit/f97db53fcfaa4e041c427acdde9358a0188405bb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210119/4683940c/attachment-0001.html>


More information about the debian-med-commit mailing list