[libbluray-devel] Avoid double warning messages

hpi1 git at videolan.org
Sun Mar 23 12:02:11 CET 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Mar 23 12:47:51 2014 +0200| [9cfa6b7675a14c794f28f176b28d02f682169127] | committer: hpi1

Avoid double warning messages

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=9cfa6b7675a14c794f28f176b28d02f682169127
---

 src/libbluray/bdj/java/java/awt/BDToolkitBase.java |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libbluray/bdj/java/java/awt/BDToolkitBase.java b/src/libbluray/bdj/java/java/awt/BDToolkitBase.java
index 42ff304..e3620c4 100644
--- a/src/libbluray/bdj/java/java/awt/BDToolkitBase.java
+++ b/src/libbluray/bdj/java/java/awt/BDToolkitBase.java
@@ -223,6 +223,7 @@ abstract class BDToolkitBase extends Toolkit {
             } while (component != null);
 
             logger.warning("getEventQueue() failed: no context");
+            return null;
         }
 
         logger.warning("getEventQueue() failed: no component");



More information about the libbluray-devel mailing list