glibmm r748 - in trunk: . glib/src
- From: hub svn gnome org
- To: svn-commits-list gnome org
- Subject: glibmm r748 - in trunk: . glib/src
- Date: Mon, 1 Dec 2008 07:14:08 +0000 (UTC)
Author: hub
Date: Mon Dec 1 07:14:08 2008
New Revision: 748
URL: http://svn.gnome.org/viewvc/glibmm?rev=748&view=rev
Log:
* glib/src/markup.ccg: Change the way unused variables
are marked. Bug #562716
Modified:
trunk/ChangeLog
trunk/glib/src/markup.ccg
Modified: trunk/glib/src/markup.ccg
==============================================================================
--- trunk/glib/src/markup.ccg (original)
+++ trunk/glib/src/markup.ccg Mon Dec 1 07:14:08 2008
@@ -98,7 +98,7 @@
void* user_data,
GError** error)
{
- if(!&error) error = error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used.
+ (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used.
ParseContext& cpp_context = *static_cast<ParseContext*>(user_data);
g_return_if_fail(context == cpp_context.gobj());
@@ -139,7 +139,7 @@
void* user_data,
GError** error)
{
- if(!&error) error = error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used.
+ (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used.
ParseContext& cpp_context = *static_cast<ParseContext*>(user_data);
g_return_if_fail(context == cpp_context.gobj());
@@ -168,7 +168,7 @@
void* user_data,
GError** error)
{
- if(!&error) error = error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used.
+ (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used.
ParseContext& cpp_context = *static_cast<ParseContext*>(user_data);
g_return_if_fail(context == cpp_context.gobj());
@@ -197,7 +197,7 @@
void* user_data,
GError** error)
{
- if(!&error) error = error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used.
+ (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used.
ParseContext& cpp_context = *static_cast<ParseContext*>(user_data);
g_return_if_fail(context == cpp_context.gobj());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]