Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset aaa77ba0 in mainline for uspace/app/tester/fault/fault2.c


Ignore:
Timestamp:
2012-04-07T12:37:01Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
4ceef572
Parents:
956a22c
Message:

silence compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/fault/fault2.c

    r956a22c raaa77ba0  
    3535const char *test_fault2(void)
    3636{
    37         volatile long long var;
    38         volatile int var1;
    39        
    40         var1 = *((aliasing_int *) (((char *) (&var)) + 1));
     37        volatile long long var = 0;
     38        volatile int var1 = *((aliasing_int *) (((char *) (&var)) + 1));
    4139        printf("Read %d\n", var1);
    4240       
Note: See TracChangeset for help on using the changeset viewer.