Changeset db8626d in mainline


Ignore:
Timestamp:
2017-05-04T22:21:47Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9abe2e5
Parents:
31a30fa
Message:

suppress compiler warnings

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/mm/page_pt.c

    r31a30fa rdb8626d  
    415415            addr - 1 < base + size - 1;
    416416            addr += ptl0_step) {
    417                 if (GET_PTL1_ADDRESS(ptl0, PTL0_INDEX(addr))) {
     417                if (GET_PTL1_ADDRESS(ptl0, PTL0_INDEX(addr)) != 0) {
    418418                        ASSERT(overlaps(addr, ptl0_step,
    419419                            config.identity_base, config.identity_size));
  • uspace/app/sbi/src/tdata.c

    r31a30fa rdb8626d  
    418418        list_node_t *arg_n;
    419419        tdata_item_t *arg_ti;
    420         tdata_item_t *narg_ti;
     420        tdata_item_t *narg_ti = NULL;
    421421
    422422        tnew = tdata_fun_sig_new();
  • uspace/lib/http/src/request.c

    r31a30fa rdb8626d  
    143143int http_send_request(http_t *http, http_request_t *req)
    144144{
    145         char *buf;
    146         size_t buf_size;
     145        char *buf = NULL;
     146        size_t buf_size = 0;
    147147       
    148148        int rc = http_request_format(req, &buf, &buf_size);
  • uspace/srv/fs/exfat/exfat_fat.c

    r31a30fa rdb8626d  
    193193        uint32_t clusters;
    194194        uint32_t max_clusters;
    195         exfat_cluster_t c;
     195        exfat_cluster_t c = EXFAT_CLST_FIRST;
    196196        int rc;
    197197
  • uspace/srv/fs/fat/fat_fat.c

    r31a30fa rdb8626d  
    748748{
    749749        unsigned fatno;
    750         fat_cluster_t nextc, clst_bad = FAT_CLST_BAD(bs);
     750        fat_cluster_t nextc = 0;
     751        fat_cluster_t clst_bad = FAT_CLST_BAD(bs);
    751752        int rc;
    752753
Note: See TracChangeset for help on using the changeset viewer.