Thomas Haller
a2b5e22f82
all: drop unnecessary cast for return value of g_object_new()
...
C casts unconditionally force the type, and as such they don't
necessarily improve type safety, but rather overcome restrictions
from the compiler when necessary.
Casting a void pointer is unnecessary (in C), it does not make the
code more readable nor more safe. In particular for g_object_new(),
which is known to return a void pointer of the right type.
Drop such casts.
sed 's/([A-Za-z_0-9]\+ *\* *) *g_object_new/g_object_new/g' $(git grep -l g_object_new) -i
./contrib/scripts/nm-code-format-container.sh
2020-11-12 16:03:09 +01:00
..
2020-11-09 17:53:15 +01:00
2020-10-20 15:58:41 +02:00
2020-11-09 17:53:18 +01:00
2020-11-03 15:39:01 +01:00
2020-11-09 17:53:15 +01:00
2020-09-29 16:50:53 +02:00
2020-10-19 23:18:43 +02:00
2020-09-29 16:50:53 +02:00
2019-06-14 12:10:20 +02:00
2017-12-18 11:25:06 +01:00
2020-11-09 17:53:15 +01:00
2020-09-29 16:50:53 +02:00
2020-11-09 17:53:15 +01:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-10-20 16:43:01 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-10-28 14:30:49 +01:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-10-09 10:29:00 +02:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-09 17:53:15 +01:00
2020-11-09 17:53:15 +01:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 18:22:18 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 18:22:18 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 18:23:18 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-11-12 16:03:09 +01:00
2020-09-29 16:50:53 +02:00
2020-10-12 22:18:26 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-10-30 11:58:45 +01:00
2020-09-29 16:50:53 +02:00
2020-10-20 14:43:03 +02:00
2020-10-20 16:47:33 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00
2020-09-29 16:50:53 +02:00