[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash libbase/sharedlib.cpp ChangeLog
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash libbase/sharedlib.cpp ChangeLog |
Date: |
Sat, 22 Mar 2008 03:21:24 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 08/03/22 03:21:24
Modified files:
libbase : sharedlib.cpp
. : ChangeLog
Log message:
Got rid off a couples of compiler warnings. Compare getenv() with NULL
not 0...
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/sharedlib.cpp?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5993&r2=1.5994
Patches:
Index: libbase/sharedlib.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/sharedlib.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- libbase/sharedlib.cpp 5 Mar 2008 03:55:53 -0000 1.21
+++ libbase/sharedlib.cpp 22 Mar 2008 03:21:22 -0000 1.22
@@ -107,13 +107,11 @@
// } else {
// log_debug ("Initialized ltdl");
}
- char *pluginsdir;
+ char *pluginsdir = PLUGINSDIR;
char *env = getenv ("GNASH_PLUGINS");
- if (env == 0) {
- pluginsdir = PLUGINSDIR;
- } else {
+ if (env != NULL)
pluginsdir = env;
- }
+
lt_dlsetsearchpath(pluginsdir);
}
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5993
retrieving revision 1.5994
diff -u -b -r1.5993 -r1.5994
--- ChangeLog 22 Mar 2008 02:42:09 -0000 1.5993
+++ ChangeLog 22 Mar 2008 03:21:23 -0000 1.5994
@@ -1,3 +1,8 @@
+2008-03-22 Markus Gothe <address@hidden>
+
+ * libbase/sharedlib.cpp: Got rid off a couples of compiler warnings.
+ Compare getenv with
NULL not 0!.
+
2008-03-21 Dossy Shiobara <address@hidden>
* libbase/sharedlib.h (1.9): Tweak things so that libltdl works
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash libbase/sharedlib.cpp ChangeLog,
Markus Gothe <=