Skip to content

Commit

Permalink
Initialize variable before we use it (clang++).
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Dec 10, 2012
1 parent 6579887 commit 87a1fb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythtv/libs/libmyth/mythrssmanager.cpp
Expand Up @@ -175,8 +175,9 @@ void RSSSite::slotCheckRedirect(QNetworkReply* reply)
QVariant possibleRedirectUrl =
reply->attribute(QNetworkRequest::RedirectionTargetAttribute);

QUrl urlRedirectedTo = redirectUrl(possibleRedirectUrl.toUrl(),
urlRedirectedTo);
QUrl urlRedirectedTo;
urlRedirectedTo = redirectUrl(possibleRedirectUrl.toUrl(),
urlRedirectedTo);

if(!urlRedirectedTo.isEmpty())
{
Expand Down

0 comments on commit 87a1fb6

Please sign in to comment.