diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 04:06:09 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 04:06:09 +0000 |
commit | 097f19171b7691f96fc5bcf1ce5eaa2f74c6da16 (patch) | |
tree | a84a13c3767c5285f50c2128278f6abab24c5f51 /soltools/cpp | |
parent | 640405a46af59dd47234462c629635c97784240d (diff) |
INTEGRATION: CWS warnings01 (1.2.102); FILE MERGED
2005/11/07 12:08:31 sb 1.2.102.1: #i53898# Made code warning-free (additional -W switches for GCC).
Diffstat (limited to 'soltools/cpp')
-rw-r--r-- | soltools/cpp/_include.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/soltools/cpp/_include.c b/soltools/cpp/_include.c index 45f0b2bfe2ef..15d2bf227543 100644 --- a/soltools/cpp/_include.c +++ b/soltools/cpp/_include.c @@ -30,7 +30,8 @@ void { char fname[PATH_MAX], iname[PATH_MAX]; Includelist *ip; - int angled, len, fd, i; + int angled, fd, i; + size_t len; trp->tp += 1; if (trp->tp >= trp->lp) @@ -132,7 +133,7 @@ syntax: void genline(void) { - static Token ta = {UNCLASS}; + static Token ta = {UNCLASS, 0, 0, 0, NULL, 0}; static Tokenrow tr = {&ta, &ta, &ta + 1, 1}; uchar *p; @@ -164,7 +165,7 @@ void void genimport(char *fname, int angled, char *iname, int import) { - static Token ta = {UNCLASS}; + static Token ta = {UNCLASS, 0, 0, 0, NULL, 0}; static Tokenrow tr = {&ta, &ta, &ta + 1, 1}; uchar *p; @@ -206,7 +207,7 @@ void void genwrap(int end) { - static Token ta = {UNCLASS}; + static Token ta = {UNCLASS, 0, 0, 0, NULL, 0}; static Tokenrow tr = {&ta, &ta, &ta + 1, 1}; uchar *p; |