libvirt/src/hyperv
Ján Tomko 7b48bb8ca0 Use g_strdup to fill in default values
Replace:
  if (!s && VIR_STRDUP(s, str) < 0)
    goto;
with:
  if (!s)
    s = g_strdup(str);

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-10-21 12:51:55 +02:00
..
hyperv_driver.c Use g_strdup instead of ignoring VIR_STRDUP's value 2019-10-21 12:51:55 +02:00
hyperv_driver.h src/hyperv: use #pragma once in headers 2019-06-13 17:05:09 +02:00
hyperv_private.h src/hyperv: use #pragma once in headers 2019-06-13 17:05:09 +02:00
hyperv_util.c Use g_strdup to fill in default values 2019-10-21 12:51:55 +02:00
hyperv_util.h src/hyperv: use #pragma once in headers 2019-06-13 17:05:09 +02:00
hyperv_wmi_classes.c Don't leave empty first line in C source files 2014-03-18 12:17:12 +01:00
hyperv_wmi_classes.h src/hyperv: use #pragma once in headers 2019-06-13 17:05:09 +02:00
hyperv_wmi_generator.input hyperv: Add support for virDomainSetMemory 2017-07-08 13:45:07 +02:00
hyperv_wmi_generator.py hyperv: use "is None" not "== None" for PEP-8 compliance 2019-01-31 10:38:43 +00:00
hyperv_wmi.c Use G_GNUC_UNUSED everywhere 2019-10-15 11:25:25 +02:00
hyperv_wmi.h src/hyperv: use #pragma once in headers 2019-06-13 17:05:09 +02:00
Makefile.inc.am build: force a UTF-8 locale for python 2019-09-24 15:46:22 +01:00
openwsman.h src/hyperv: use #pragma once in headers 2019-06-13 17:05:09 +02:00