Permalink
Browse files

initialize keyword arguments in define_package

  • Loading branch information...
1 parent 4dcd84c commit e2409e4b5f7e6948c3a3820424cdc15a859df527 @adh committed Mar 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/package.c
View
@@ -877,8 +877,8 @@ DFSCH_DEFINE_PRIMITIVE(define_package,
"Define new symbol package with given name if it does "
"not already exist"){
char* name;
- dfsch_object_t* imports;
- dfsch_object_t* exports;
+ dfsch_object_t* imports = NULL;
+ dfsch_object_t* exports = NULL;
dfsch_object_t* pkg;
char* documentation = NULL;

0 comments on commit e2409e4

Please sign in to comment.