[sheepdog] [sheepdog/sheepdog] 3a69ab: sheep: fix 'http_options' warning when building

Hitoshi Mitake mitake.hitoshi at gmail.com
Fri Feb 26 07:31:15 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 3a69abc6e059cc785d4ac055f12c59359f1e3137
      https://github.com/sheepdog/sheepdog/commit/3a69abc6e059cc785d4ac055f12c59359f1e3137
  Author: Takashi Menjo <takashi.menjo+github at gmail.com>
  Date:   2016-02-26 (Fri, 26 Feb 2016)

  Changed paths:
    M sheep/sheep.c

  Log Message:
  -----------
  sheep: fix 'http_options' warning when building

Without --enable-http configure option, we still get
-Wunused-but-set-variable warning message on 'http_options'
in the main function of sheep.

This not only fixes the warning, but also makes sheep not show
the help message about -r/--http option. Note that disabling
HTTP feature itself had been realized in commit 00965c1.

This closes sheepdog/sheepdog#203.

Signed-off-by: Takashi Menjo <takashi.menjo+github at gmail.com>


  Commit: 78e08d9fe7d10fe201c6c04422d82d58e8f4a93b
      https://github.com/sheepdog/sheepdog/commit/78e08d9fe7d10fe201c6c04422d82d58e8f4a93b
  Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
  Date:   2016-02-26 (Fri, 26 Feb 2016)

  Changed paths:
    M sheep/sheep.c

  Log Message:
  -----------
  Merge pull request #220 from tmenjo/fix-http-options

sheep: fix 'http_options' warning when building


Compare: https://github.com/sheepdog/sheepdog/compare/698e5d25e546...78e08d9fe7d1


More information about the sheepdog mailing list