initialising pointer to NULL to avoid warning on VisualAge

[SVN r18965]
This commit is contained in:
Toon Knapen
2003-07-07 17:02:59 +00:00
parent 0a1facf57a
commit 8259764b49

View File

@ -15,8 +15,8 @@ namespace boost_has_sigaction{
void f()
{
// this is never called, it just has to compile:
struct sigaction* sa1;
struct sigaction* sa2;
struct sigaction* sa1 = NULL ;
struct sigaction* sa2 = NULL ;
int res = sigaction(0, sa1, sa2);
(void) &res;
}