[Groonga-commit] [Still Failing] groonga/groonga#1871 (master - d1845f7)

アーカイブの一覧に戻る

Travis CI notif****@travi*****
Tue Jun 11 17:29:32 JST 2013


Build Update for groonga/groonga
-------------------------------------

Build: #1871
Status: Still Failing

Duration: 4 minutes and 34 seconds
Commit: d1845f7 (master)
Author: Kouhei Sutou
Message: clang: suppress a warning

Initialize grn_id explicitly.

    db.c:2430:7: warning: variable 'id' is used uninitialized whenever 'if'
          condition is false [-Wsometimes-uninitialized]
          WITH_NORMALIZE(hash, key, key_size, {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    db.c:46:9: note: expanded from macro 'WITH_NORMALIZE'
        if ((nstr = grn_string_open(ctx, key, key_size,\
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    db.c:2433:11: note: uninitialized use occurs here
          if (id) { grn_table_add(ctx, res, &id, sizeof(grn_id), NULL); }
              ^~
    db.c:2430:7: note: remove the 'if' if its condition is always true
          WITH_NORMALIZE(hash, key, key_size, {
          ^
    db.c:46:5: note: expanded from macro 'WITH_NORMALIZE'
        if ((nstr = grn_string_open(ctx, key, key_size,\
        ^
    db.c:2429:16: note: initialize the variable 'id' to silence this warning
          grn_id id;
                   ^
                    = 0

View the changeset: https://github.com/groonga/groonga/compare/31cd5fceee3b...d1845f79a2ea

View the full build log and details: https://travis-ci.org/groonga/groonga/builds/7975749

--

You can configure recipients for build notifications in your .travis.yml file. See http://about.travis-ci.org/docs/user/build-configuration


-------------- next part --------------
An HTML attachment was scrubbed...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る