From: compudj Date: Fri, 11 Nov 2005 19:46:09 +0000 (+0000) Subject: compiler warnings X-Git-Tag: v0.12.20~2165 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3e090fd3a5a50c1576650295fb621fae678c1964;p=lttv.git compiler warnings git-svn-id: http://ltt.polymtl.ca/svn@1324 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/genevent-new/gentest.c b/genevent-new/gentest.c index a918d541..3eb2bf19 100644 --- a/genevent-new/gentest.c +++ b/genevent-new/gentest.c @@ -3,6 +3,7 @@ #include #include #include +#include #define min(a,b) (((a)<(b))?a:b) #define max(a,b) (((a)>(b))?a:b) @@ -74,7 +75,7 @@ static inline void lttng_write_mystruct2( size_t *len, struct lttng_mystruct2 *obj) { - size_t align, size, varalign; + size_t align, size; align = lttng_get_alignment_mystruct2(obj); size = lttng_get_size_mystruct2(obj);