From: "nobu (Nobuyoshi Nakada)" Date: 2012-04-17T20:02:29+09:00 Subject: [ruby-core:44407] [ruby-trunk - Bug #6066][Closed] Fix "control may reach end of non-void function" warnings for clang Issue #6066 has been updated by nobu (Nobuyoshi Nakada). Status changed from Assigned to Closed % Done changed from 50 to 100 ---------------------------------------- Bug #6066: Fix "control may reach end of non-void function" warnings for clang https://bugs.ruby-lang.org/issues/6066#change-25953 Author: drbrain (Eric Hodel) Status: Closed Priority: Normal Assignee: drbrain (Eric Hodel) Category: misc Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-02-23 trunk 34755) [x86_64-darwin11.3.0] =begin clang 3.1 is more picky about "control may reach end of non-void function" The attached patches contain add (({return Qnil; /* not reached */})) or the equivalent where the warnings occurred. =end -- http://bugs.ruby-lang.org/