diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-06 10:12:52 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-12 20:13:02 +0100 |
commit | a3d7cbc1397bf01249b5c39dd1e285bd6aa818dc (patch) | |
tree | 79c75ccac0ec43b96282bc40943346479faad3b7 /backends | |
parent | 1b8601b0ea0b91467561e0bbddd52a833e4b2b1a (diff) |
qdev-monitor-test: Simplify using g_assert_cmpstr()
Use g_assert_cmpstr() instead of combining g_assert() and strcmp(3).
This simplifies the code since we no longer have to play games to
distinguish NULL from "" using "(null)".
gcc extension haters will also be happy that ?: was dropped.
Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions