[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-commit-watch
Subject:    [Gpsd-commit-watch] Project gpsd at BerliOS branch, master,
From:       gpsd-dev () lists ! berlios ! de
Date:       2010-04-30 18:15:52
Message-ID: 201004301815.o3UIFqpZ028151 () sheep ! berlios ! de
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Project gpsd at BerliOS".

The branch, master has been updated
       via  e8c918c69a1a2e75b02de70aeeeaacbf75fce31a (commit)
      from  d31a497f2371d5aeb0befc06c544d0b63c5710a9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e8c918c69a1a2e75b02de70aeeeaacbf75fce31a
Author: Beat Bolli <bbolli@ewanet.ch>
Date:   Thu Apr 29 21:58:22 2010 +0200

    Prevent a warning when compiling with --disable-oldstyle
    
    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>

diff --git a/libgps_core.c b/libgps_core.c
index 1e5cfe4..2afe9f8 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -267,8 +267,6 @@ static void libgps_dump_state(struct gps_data_t *collect, time_t now)
 int gps_unpack(char *buf, struct gps_data_t *gpsdata)
 /* unpack a gpsd response into a status structure, buf must be writeable */
 {
-    char *ns, *sp, *tp;
-
     libgps_debug_trace((1, "gps_unpack(%s)\n", buf));
 
     /* detect and process a JSON response */
@@ -297,6 +295,8 @@ int gps_unpack(char *buf, struct gps_data_t *gpsdata)
 	 * This looks thread-unsafe, but it's not.  The key is that
 	 * character assignment is atomic.
 	 */
+	char *ns, *sp, *tp;
+
 	static char decimal_point = '\0';
 	if (decimal_point == '\0') {
 	    struct lconv *locale_data = localeconv();

-----------------------------------------------------------------------

Summary of changes:
 libgps_core.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Project gpsd at BerliOS
_______________________________________________
Gpsd-commit-watch mailing list
Gpsd-commit-watch@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/gpsd-commit-watch
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic