[ismrmrd] 82/177: Fixed declaration for c89 style Win compiler

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:02:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag v1.1.0.beta.1
in repository ismrmrd.

commit 891e7271503b2dc4a23933fe0379ad0e84600eb9
Author: Dusan Puletic <dusan.puletic at nih.gov>
Date:   Tue Sep 23 12:30:36 2014 -0400

    Fixed declaration for c89 style Win compiler
---
 libsrc/dataset.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libsrc/dataset.c b/libsrc/dataset.c
index 28a70c6..69ad77b 100644
--- a/libsrc/dataset.c
+++ b/libsrc/dataset.c
@@ -749,7 +749,7 @@ int ismrmrd_write_header(const ISMRMRD_Dataset *dset, const char *xmlstring) {
 char * ismrmrd_read_header(const ISMRMRD_Dataset *dset) {
     hid_t dataset, datatype;
     herr_t h5status;
-    char * xmlstring;
+    char * xmlstring, *path;
         
     if (dset==NULL) {
         ISMRMRD_THROW(ISMRMRD_RUNTIMEERROR, "Pointer should not be NULL.");
@@ -757,7 +757,7 @@ char * ismrmrd_read_header(const ISMRMRD_Dataset *dset) {
     }
 
     /* The path to the xml header */
-    char *path = make_path(dset, "xml");
+    path = make_path(dset, "xml");
         
     if (link_exists(dset, path)) {
         void *buff[1];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ismrmrd.git



More information about the debian-science-commits mailing list