Changeset c6bc88b in subsurface


Ignore:
Timestamp:
May 27, 2017, 7:21:37 AM (4 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
f604089
Parents:
3d8c0b27
Message:

Fix some warnings

Signed-off-by: Dirk Hohndel <dirk@…>

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/datatrak.c

    r47dcc96 rc6bc88b  
    1919unsigned int tmp_2bytes;
    2020char is_nitrox, is_O2, is_SCR;
    21 unsigned long tmp_4bytes, maxbuf;
     21unsigned long tmp_4bytes;
     22long maxbuf;
    2223
    2324static unsigned int two_bytes_to_int(unsigned char x, unsigned char y)
     
    147148unsigned char *dt_dive_parser(unsigned char *runner, struct dive *dt_dive)
    148149{
    149         int  rc, profile_length, n = 0, libdc_model;
     150        int  rc, profile_length, libdc_model;
    150151        char *tmp_notes_str = NULL;
    151152        unsigned char *tmp_string1 = NULL,
  • core/profile.c

    r05a7fe1 rc6bc88b  
    12941294        int pressurevalue, mod, ead, end, eadd;
    12951295        const char *depth_unit, *pressure_unit, *temp_unit, *vertical_speed_unit;
    1296         double depthvalue, tempvalue, speedvalue, sacvalue, density;
     1296        double depthvalue, tempvalue, speedvalue, sacvalue;
    12971297        int decimals;
    12981298        const char *unit;
  • tests/testparse.cpp

    r726c9e8 rc6bc88b  
    139139        QCOMPARE(parseCSV(0, SUBSURFACE_TEST_DATA "/dives/test41.csv"), 0);
    140140        fprintf(stderr, "number of dives %d \n", dive_table.nr);
    141        
     141
    142142        QCOMPARE(parseDivingLog(), 0);
    143143        fprintf(stderr, "number of dives %d \n", dive_table.nr);
     
    158158        QCOMPARE(sqlite3_open(SUBSURFACE_TEST_DATA "/dives/TestDiveDM4.db", &_sqlite3_handle), 0);
    159159        QCOMPARE(parse_dm4_buffer(_sqlite3_handle, 0, 0, 0, &dive_table), 0);
    160        
     160
    161161        QCOMPARE(save_dives("./testdm4out.ssrf"), 0);
    162162        FILE_COMPARE("./testdm4out.ssrf",
     
    225225void TestParse::testParseNewFormat()
    226226{
    227         struct dive *dive;
    228227        QDir dir;
    229228        QStringList filter;
    230         QString firstLine;
    231229        QStringList files;
    232230
Note: See TracChangeset for help on using the changeset viewer.