diff options
| author | Marc-André Lureau | 2016-07-15 12:04:49 +0200 |
|---|---|---|
| committer | Marc-André Lureau | 2016-09-08 16:05:22 +0200 |
| commit | f73480c36f49562556b80bb5bf8acc45e20dcca1 (patch) | |
| tree | 9d102ca71a9ba4abb14c01b3ce7a9fd2098b74b1 /scripts/switch-timer-api | |
| parent | ipmi: free extern timer (diff) | |
| download | qemu-f73480c36f49562556b80bb5bf8acc45e20dcca1.tar.gz qemu-f73480c36f49562556b80bb5bf8acc45e20dcca1.tar.xz qemu-f73480c36f49562556b80bb5bf8acc45e20dcca1.zip | |
bus: simplify name handling
Simplify a bit the code by using g_strdup_printf() and store it in a
non-const value so casting is no longer needed, and ownership is
clearer.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
