mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: fix use of {0} initializers for older GCC
Older GCC versions complain about this so we might as well squash it.
This commit is contained in:
@ -117,7 +117,7 @@ static Diskstat *
|
||||
register_counters_by_name (SysprofDiskstatSource *self,
|
||||
const gchar *name)
|
||||
{
|
||||
SysprofCaptureCounter ctr[2] = {0};
|
||||
SysprofCaptureCounter ctr[2] = {{{0}}};
|
||||
Diskstat ds = {0};
|
||||
|
||||
g_assert (SYSPROF_IS_DISKSTAT_SOURCE (self));
|
||||
|
||||
Reference in New Issue
Block a user