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: d1845f79a2ea
Choose a base ref
...
head repository: groonga/groonga
compare: 3f8b8f56567f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 11, 2013

  1. clang: suppress a warning

    Initialize variable explicitly.
    
        ii.c:2909:17: warning: variable 'dcn' is used uninitialized whenever '||'
              condition is true [-Wsometimes-uninitialized]
                    if (!actual_chunk_size || !(rc = chunk_new(ctx, ii, &dcn,...
                        ^~~~~~~~~~~~~~~~~~
        ii.c:2911:50: note: uninitialized use occurs here
                      fake_map2(ctx, ii->chunk, &dw, dc, dcn, actual_chunk_size);
                                                         ^~~
        ii.c:2909:17: note: remove the '||' if its condition is always false
                    if (!actual_chunk_size || !(rc = chunk_new(ctx, ii, &dcn,...
                        ^~~~~~~~~~~~~~~~~~~~~
        ii.c:2886:30: note: initialize the variable 'dcn' to silence this warning
          uint32_t ds, pseg, scn, dcn;
                                     ^
                                      = 0
    kou committed Jun 11, 2013
    Copy the full SHA
    3f8b8f5 View commit details
    Browse the repository at this point in the history