X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Futils%2Fprof%2Fcgprof%2FdaVinci.c;h=0a59d1c89e35dfba2920f5710b5f101303b2f54b;hb=86010e433ff9534809e43b8d2ffcda682d011a28;hp=2552e76bed296ad95a5a044c5fd421e312ce6d11;hpb=cd8f7a5858b46148c716b1ebc7251eacede24171;p=ghc-hetmet.git diff --git a/ghc/utils/prof/cgprof/daVinci.c b/ghc/utils/prof/cgprof/daVinci.c index 2552e76..0a59d1c 100644 --- a/ghc/utils/prof/cgprof/daVinci.c +++ b/ghc/utils/prof/cgprof/daVinci.c @@ -1,5 +1,5 @@ /* ------------------------------------------------------------------------ - * $Id: daVinci.c,v 1.4 2003/08/01 15:10:34 panne Exp $ + * $Id: daVinci.c,v 1.5 2006/01/09 14:38:01 simonmar Exp $ * * Copyright (C) 1995-2000 University of Oxford * @@ -631,6 +631,7 @@ davinciCmd parseDaVinciCmd(char *input) { int i; result.size=1; + result.list=NULL; for(crp=input;*crp;crp++) if (*crp==',') result.size++;