Navigation Menu

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: groonga/groonga
base: 3f8b8f56567f
Choose a base ref
...
head repository: groonga/groonga
compare: fd32766627c4
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 11, 2013

  1. clang: suppress warnings

    Initialize variables explicitly.
    
        ii.c:3249:21: warning: variable 'dcn0' is used uninitialized whenever '||'
              condition is true [-Wsometimes-uninitialized]
                        if (!actual_db0_chunk_size ||
                            ^~~~~~~~~~~~~~~~~~~~~~
        ii.c:3252:56: note: uninitialized use occurs here
          ...fake_map2(ctx, ii->chunk, &dw0, dc0, dcn0, actual_db0_chunk_size);
                                                  ^~~~
        ii.c:3249:21: note: remove the '||' if its condition is always false
                        if (!actual_db0_chunk_size ||
                            ^~~~~~~~~~~~~~~~~~~~~~~~~
        ii.c:3222:50: note: initialize the variable 'dcn0' to silence this warning
          uint32_t dps0, dps1, dls0, dls1, sps, scn, dcn0, dcn1;
                                                         ^
                                                          = 0
        ii.c:3261:27: warning: variable 'dcn1' is used uninitialized whenever '||'
              condition is true [-Wsometimes-uninitialized]
                              if (!actual_db1_chunk_size ||
                                  ^~~~~~~~~~~~~~~~~~~~~~
        ii.c:3263:62: note: uninitialized use occurs here
          ...fake_map2(ctx, ii->chunk, &dw1, dc1, dcn1, actual_db1_chunk_size);
                                                  ^~~~
        ii.c:3261:27: note: remove the '||' if its condition is always false
                              if (!actual_db1_chunk_size ||
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
        ii.c:3222:56: note: initialize the variable 'dcn1' to silence this warning
          uint32_t dps0, dps1, dls0, dls1, sps, scn, dcn0, dcn1;
                                                               ^
                                                                = 0
    kou committed Jun 11, 2013
    Copy the full SHA
    fd32766 View commit details
    Browse the repository at this point in the history