Re: [libvirt] [PATCH 4/9] Remove VIR_STRNDUP usage with checked pointers

2019-11-13 Thread Daniel Henrique Barboza
This patch failed to compile for me with the following error: ../../tools/vsh.c:70:1: error: 'vshErrorOOM' defined but not used [-Werror=unused-function] 70 | vshErrorOOM(void) | ^~~ Apparently you removed the last call to vshErrorOOM() in the tools/vsh.c changes here. For

[libvirt] [PATCH 4/9] Remove VIR_STRNDUP usage with checked pointers

2019-11-12 Thread Ján Tomko
Remove the usage where sanity of the length argument is verified by other conditions not matching the previous patches. Signed-off-by: Ján Tomko --- src/libxl/xen_common.c | 18 -- tools/vsh.c| 5 ++--- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git