Hey Lars,

2009/7/7 Lars Hamren <[email protected]>:
> In WebController::handleRequest() I see the following code
>
>
>       std::string favicon = ep->favicon();
>       if (favicon.empty()) {
>        const std::string *confFavicon = conf_.property("favicon");
>         if (confFavicon)
>          favicon = *confFavicon;
>       }
>
>       session = new WebSession(this, sessionId,
>                               ep->type(), ep->favicon(), *request);
>
> Note that the local variable favicon is not used after being assigned,
> not even later in the code. Perhaps it was intended as the fourth
> argument to `new WebSession'.

You are spot-on.

Thanks,
koen

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to