qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v10 5/6] fsdev: QMP interface for throttling


From: Alberto Garcia
Subject: Re: [Qemu-devel] [PATCH v10 5/6] fsdev: QMP interface for throttling
Date: Fri, 08 Sep 2017 13:33:46 +0200
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

On Fri 08 Sep 2017 12:02:14 PM CEST, Markus Armbruster wrote:

>> +    fse = get_fsdev_fsentry(arg->has_id ? arg->id : NULL);
>
> !arg->has_id implies !arg->id.

Hey Markus,

I have the impression that I've also written code that never uses
arg->foo when arg->has_foo is false.

Can we then assume that to be NULL/0 in all cases? Also for other data
types (int, bool, ...)?

Berto



reply via email to

[Prev in Thread] Current Thread [Next in Thread]