[libchamplain] fix typo, time vs time_



commit 9dd4d78c1d3fc8887e609d3bca3ba2eda4ebd613
Author: Andreas Henriksson <andreas fatal se>
Date:   Fri Aug 5 11:16:13 2011 +0200

    fix typo, time vs time_
    
    ./champlain-tile.c: In function âchamplain_tile_set_modified_timeâ:
    ./champlain-tile.c:791:3: warning: the comparison will always evaluate as âtrueâ for the address of âtimeâ will never be NULL [-Waddress]

 champlain/champlain-tile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-tile.c b/champlain/champlain-tile.c
index da5dff9..cd57612 100644
--- a/champlain/champlain-tile.c
+++ b/champlain/champlain-tile.c
@@ -788,7 +788,7 @@ champlain_tile_set_modified_time (ChamplainTile *self,
     const GTimeVal *time_)
 {
   g_return_if_fail (CHAMPLAIN_TILE (self));
-  g_return_if_fail (time != NULL);
+  g_return_if_fail (time_ != NULL);
 
   ChamplainTilePrivate *priv = self->priv;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]