diff options
author | PST 1998 Manish Singh <yosh@gimp.org> | 1998-11-25 03:02:56 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1998-11-25 03:02:56 +0000 |
commit | 61bdacfb596a715fa042b513b4e524c3d30f4b3e (patch) | |
tree | aef5747104cfa00abf94e46a98b4c8943d2af17f /gscanner.c | |
parent | 3568d22b5352be80c5c86cda1ebe77943bafb962 (diff) | |
download | glib-61bdacfb596a715fa042b513b4e524c3d30f4b3e.tar.gz |
applied glib-tml-981120-0, change log appended below.
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
* applied glib-tml-981120-0, change log appended below.
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
infers them
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
added. Added "extern" to __declspec(dllimport).
* gutils.c: Initialise need_wakeups.
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
* gmodule/gmodule.def: Added g_module_build_path.
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
to before its use.
* glib.def: Added g_(s)list_sort.
* makefile.msc: A few more comments.
-Yosh
Diffstat (limited to 'gscanner.c')
-rw-r--r-- | gscanner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gscanner.c b/gscanner.c index 04b3ae5ee..02985a7f7 100644 --- a/gscanner.c +++ b/gscanner.c @@ -620,12 +620,12 @@ g_scanner_cur_value (GScanner *scanner) { GTokenValue v; + v.v_int = 0; + g_return_val_if_fail (scanner != NULL, v); /* MSC isn't capable of handling return scanner->value; ? */ - v.v_int = 0; - v = scanner->value; return v; |