Make sure (paragraph)->private_data is defined in all cases, on general
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 6 Aug 2004 01:34:58 +0000 (01:34 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 6 Aug 2004 01:34:58 +0000 (01:34 +0000)
principles (it may be unnecessary). Perhaps we should do this for
(word)->private_data too.

git-svn-id: svn://svn.tartarus.org/sgt/halibut@4412 cda61777-01e9-0310-a592-d414129be87e

bk_info.c

index 0f9f1e5..48ad45e 100644 (file)
--- a/bk_info.c
+++ b/bk_info.c
@@ -267,6 +267,9 @@ void info_backend(paragraph *sourceform, keywordlist *keywords,
            currnode = newnode;
        }
        break;
+      default:
+        p->private_data = NULL;
+        break;
     }
 
     /*