changeset 1003:26579d6e6c38

Initialisation of ptr string to NULL to avoid gcc warning.
author bertrand
date Mon, 04 Jun 2001 18:01:05 +0000
parents f035bd1f2749
children 57972eb8127a
files asfheader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/asfheader.c	Mon Jun 04 17:58:32 2001 +0000
+++ b/asfheader.c	Mon Jun 04 18:01:05 2001 +0000
@@ -216,7 +216,7 @@
 
     case 0x75b22633: // Content description
       if(verbose){
-        char *string;
+        char *string=NULL;
         stream_read(demuxer->stream,(char*) &contenth,sizeof(contenth));
         // extract the title
         if( contenth.title_size!=0 ) {