commit 32cec447ac9036be128c75e65b24ea46b83b2eac
Author: Christophe Fergeau <t...@gnome.org>
Date:   Tue Oct 12 15:19:04 2010 +0200

    fix warning in test compilation
    
    test-cp was returning NULL instead of exiting with an error code
    when it failed to parse the iPod iTunesDB.

 tests/test-cp.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-cp.cc b/tests/test-cp.cc
index c82e955..cec778d 100644
--- a/tests/test-cp.cc
+++ b/tests/test-cp.cc
@@ -115,7 +115,7 @@ int main (int argc, char **argv)
 
        db = itdb_parse (argv[2], NULL);
        if (db == NULL) {
-               return NULL;
+               exit (1);
        }
 
        if (db == NULL) {

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to