Changeset 20e95be in mainline for uspace/app/bithenge/expression.c


Ignore:
Timestamp:
2012-08-08T09:11:29Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
18d4484
Parents:
d8bd2ec
Message:

Bypass 'maybe uninitialized' compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/expression.c

    rd8bd2ec r20e95be  
    100100
    101101        /* Check types and get values. */
    102         bithenge_int_t a_int, b_int;
     102        /* Assigning 0 only to make the compiler happy. */
     103        bithenge_int_t a_int = 0, b_int = 0;
    103104        switch (self->op) {
    104105        case BITHENGE_EXPRESSION_ADD: /* fallthrough */
Note: See TracChangeset for help on using the changeset viewer.