[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Fri Jan 28 19:50:44 2005 -->
- <!--x-from-r13: rfbgrevp ng 3gvzrf25.arg (Urbsserl) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] C++ "not all control paths return a value" -->
- <li><em>date</em>: Fri Jan 28 19:50:44 2005</li>
- <li><em>from</em>: esoteric at 3times25.net (Geoffrey)</li>
- <li><em>in-reply-to</em>: <<a href="msg01281.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg01281.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] C++ "not all control paths return a value"</li>
I believe it means that you would exit the function without hitting a
return that returns a value (here)
> }
>
> else{
> return name;
> }
> }
>
> Saying "Not all control paths return a value" - what does this mean, am
> I missing something in my code?
--
Until later, Geoffrey
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01281" href="msg01281.html">[ale] C++ "not all control paths return a value"</a></strong>
<ul><li><em>From:</em> jloden at toughguy.net (Jay Loden)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01292.html">[ale] Py[t]hon syntax (sic)</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01294.html">[ale] mailx</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01403.html">[ale] C++ "not all control paths return a value"</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01286.html">[ale] mailx</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01293"><strong>Date</strong></a></li>
<li><a href="threads.html#01293"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>