diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-10 15:56:49 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 10:42:55 +0200 |
commit | c590354d0ace5610fbdaef918870f8d3c2e5adc6 (patch) | |
tree | 9686d27e76141f8f6bfcac1c3be95e9a291867d7 /libupower-glib/up-stats-item.c | |
parent | 65c84120f903b50a2894b3b823932aba8dae8444 (diff) |
lib: No need to set private members to NULL
GObject already makes sure of that for us.
Diffstat (limited to 'libupower-glib/up-stats-item.c')
-rw-r--r-- | libupower-glib/up-stats-item.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libupower-glib/up-stats-item.c b/libupower-glib/up-stats-item.c index 859ed71..afa9f7e 100644 --- a/libupower-glib/up-stats-item.c +++ b/libupower-glib/up-stats-item.c @@ -206,8 +206,6 @@ static void up_stats_item_init (UpStatsItem *stats_item) { stats_item->priv = UP_STATS_ITEM_GET_PRIVATE (stats_item); - stats_item->priv->value = 0.0f; - stats_item->priv->accuracy = 0.0f; } /** |