[Groonga-commit] [Errored] groonga/groonga#1876 (master - f9dfc31)

Back to archive index

Travis CI notif****@travi*****
Tue Jun 11 18:06:08 JST 2013


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

Build: #1876
Status: Errored

Duration: 8 minutes and 59 seconds
Commit: f9dfc31 (master)
Author: Kouhei Sutou
Message: clang: suppress a warning

Set missing default value.

    tsv.c:105:16: warning: variable 'encoding' is used uninitialized whenever 'if'
          condition is false [-Wsometimes-uninitialized]
        } else if (strncasecmp(encoding_name, "KOI8-R", strlen("KOI8-R")) == 0 ||
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    tsv.c:114:10: note: uninitialized use occurs here
      return encoding;
             ^~~~~~~~
    tsv.c:105:12: note: remove the 'if' if its condition is always true
        } else if (strncasecmp(encoding_name, "KOI8-R", strlen("KOI8-R")) == 0 ||
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    tsv.c:79:3: note: variable 'encoding' is declared here
      grn_encoding encoding;
      ^

View the changeset: https://github.com/groonga/groonga/compare/32cb21b36975...f9dfc311dfa6

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

--

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...
Download 



More information about the Groonga-commit mailing list
Back to archive index