[Spice-commits] 2 commits - filexfer.js quic.js

Jeremy White jwhite at kemper.freedesktop.org
Wed May 4 15:21:37 UTC 2016


 filexfer.js |    2 +-
 quic.js     |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 78022d150e919ef2f5e73fd2d2a1a3a570dd9512
Author: Pavel Grunt <pgrunt at redhat.com>
Date:   Wed May 4 14:57:21 2016 +0200

    quic: Add missing break
    
    Spotted by coverity

diff --git a/quic.js b/quic.js
index 9bb9f47..22ea3c7 100644
--- a/quic.js
+++ b/quic.js
@@ -280,6 +280,7 @@ function QuicModel(bpc)
         case 2:
         case 4:
             console.log("quic: findmodelparams(): evol value obsolete!!!\n");
+            break;
         default:
             console.log("quic: findmodelparams(): evol out of range!!!\n");
     }
commit 6b239731b4466209354958271f94ed8a86fdb353
Author: Pavel Grunt <pgrunt at redhat.com>
Date:   Wed May 4 14:57:20 2016 +0200

    filexfer: Remove wrongly placed semicolon
    
    Spotted by coverity

diff --git a/filexfer.js b/filexfer.js
index beabfd8..d850db2 100644
--- a/filexfer.js
+++ b/filexfer.js
@@ -81,7 +81,7 @@ function handle_file_drop(e)
     e.preventDefault();
     for (var i = files.length - 1; i >= 0; i--)
     {
-        if (files[i].type); // do not copy a directory
+        if (files[i].type) // do not copy a directory
             sc.file_xfer_start(files[i]);
     }
 


More information about the Spice-commits mailing list