Skip to content
Browse files

fixed: uninitialized variable 'idContent' in VideoLibrary.cpp

  • Loading branch information...
1 parent c77775a commit 36424241897a1d260b8e55084f94bb21ec51e46a @mkortstiege mkortstiege committed Jun 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/interfaces/json-rpc/VideoLibrary.cpp
View
2 xbmc/interfaces/json-rpc/VideoLibrary.cpp
@@ -353,7 +353,7 @@ JSON_STATUS CVideoLibrary::GetGenres(const CStdString &method, ITransportLayer *
{
CStdString media = parameterObject["type"].asString();
media = media.ToLower();
- int idContent;
+ int idContent = -1;
/* select which video content to get genres from*/
if (media.Equals("movie"))

0 comments on commit 3642424

Please sign in to comment.
Something went wrong with that request. Please try again.