]> xenbits.xensource.com Git - libvirt.git/commit
virNetServerClientNewPostExecRestart: Drop useless typecasts
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 5 May 2016 06:42:50 +0000 (08:42 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 5 May 2016 11:48:53 +0000 (13:48 +0200)
commit2a3a2c2f5bea5d5cafba3b96c843acd67f791098
tree259e39a2f0a39b636623f29e7c631addf53c8fe0
parent8d8f65f0a863f4455fa00d1bd7892bc7998d983f
virNetServerClientNewPostExecRestart: Drop useless typecasts

In this function, @id is defined as unsigned long long. When
passing this variable to virJSONValueObjectGetNumberUlong(),
well address of this variable, it's typecasted to ull*. There
is no need for that. It's a same story with @nrequests_max.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/rpc/virnetserverclient.c