[libbluray-devel] Remove write-only variable
hpi1
git at videolan.org
Sun Feb 19 12:27:38 CET 2017
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Jan 10 10:19:37 2017 +0200| [dbe6cc81d50bee9fb225e97d12dddde52f593a20] | committer: hpi1
Remove write-only variable
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=dbe6cc81d50bee9fb225e97d12dddde52f593a20
---
src/libbluray/bdj/java/javax/tv/service/SIManagerImpl.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/libbluray/bdj/java/javax/tv/service/SIManagerImpl.java b/src/libbluray/bdj/java/javax/tv/service/SIManagerImpl.java
index 3ab923d..348c6ef 100644
--- a/src/libbluray/bdj/java/javax/tv/service/SIManagerImpl.java
+++ b/src/libbluray/bdj/java/javax/tv/service/SIManagerImpl.java
@@ -86,10 +86,8 @@ public class SIManagerImpl extends SIManager {
}
public Service getService(Locator locator) throws InvalidLocatorException, SecurityException {
-
- BDLocator bdLocator = null;
try {
- bdLocator = new BDLocator(locator.toExternalForm());
+ new BDLocator(locator.toExternalForm());
} catch (org.davic.net.InvalidLocatorException e) {
System.err.println("invalid locator: " + locator.toExternalForm() + "\n" + org.videolan.Logger.dumpStack(e));
throw new javax.tv.locator.InvalidLocatorException(locator);
More information about the libbluray-devel
mailing list