Changeset 05b59393 in mainline for uspace/app/sbi


Ignore:
Timestamp:
2017-10-04T18:02:14Z (8 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c9e88da
Parents:
0b2d369
Message:

Fix a couple of benign clang warnings.
No change in semantics.

Location:
uspace/app/sbi/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/builtin/bi_task.c

    r0b2d369 r05b59393  
    114114        }
    115115
    116         cmd[dim] = '\0';
     116        cmd[dim] = NULL;
    117117
    118118        if (os_exec((char * const *)cmd) != EOK) {
  • uspace/app/sbi/src/run_expr.c

    r0b2d369 r05b59393  
    28862886                                /* Is it static/nonstatic? */
    28872887                                var_sn = stree_symbol_has_attr(
    2888                                     var_to_symbol(var), sac_static);
     2888                                    var_to_symbol(var), sac_static) ? sn_static : sn_nonstatic;
    28892889                                if (var_sn == sn) {
    28902890                                        /* Compute field type. XXX Memoize. */
Note: See TracChangeset for help on using the changeset viewer.