title: Why does Xcode 4.3 static analysis report a logic error with this code?
body: <p>I'm uncertain about why Xcode 4.3 reports "Logic error. Undefined or garbage value returned to caller" when running static analysis on the following C++ code. The error is reported to be at the line <code>return e;</code>.</p>
  
  <pre><code>enum MyEnum { MyEnumValue };
  
  MyEnum myFunction() {
      try {
          throw MyEnumValue;
      } catch (MyEnum e) {
          return e;
      }
  
      return MyEnumValue;
  }
  </code></pre>
  
  <p>Any clues??</p>