Module: nagvis
Branch: master
Commit: 990a96b54f0cc9ceb8b8972129d9e85436b43acc
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=990a96b54f0cc9ceb8b8972129d9e85436b43acc

Author: Roman Kyrylych <[email protected]>
Date:   Tue Aug 11 16:13:01 2009 +0300

gmap: Fixed default case in switch in Database class

Signed-off-by: Roman Kyrylych <[email protected]>

---

 share/netmap/Database.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/netmap/Database.php b/share/netmap/Database.php
index a238a53..a067e4e 100644
--- a/share/netmap/Database.php
+++ b/share/netmap/Database.php
@@ -138,7 +138,7 @@ class Database
                                return Location::STATE_ERROR;
 
                        case 'UNKNOWN':
-                       case default:
+                       default:
                                return Location::STATE_UNKNOWN;
                }
        }
@@ -168,7 +168,7 @@ class Database
                                return Location::STATE_ERROR;
 
                        case 'UNKNOWN':
-                       case default:
+                       default:
                                return Location::STATE_UNKNOWN;
                }
        }


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to