Re: [PATCH 71/75] virstring: Drop virVasprintfQuiet()

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

 





On 10/22/19 10:58 AM, Michal Privoznik wrote:
This macro is no longer used and therefore can be dropped.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
  src/util/virstring.h | 9 ---------
  1 file changed, 9 deletions(-)


Reviewed-by: Daniel Henrique Barboza <danielhb413@xxxxxxxxx>



diff --git a/src/util/virstring.h b/src/util/virstring.h
index 5de6dd3252..6072af8f59 100644
--- a/src/util/virstring.h
+++ b/src/util/virstring.h
@@ -217,15 +217,6 @@ size_t virStringListLength(const char * const *strings);
   */
  #define virVasprintf(strp, fmt, list) virVasprintfInternal(strp, fmt, list)
-/**
- * virVasprintfQuiet
- *
- * Like glibc's vasprintf but aborts on OOM.
- *
- * Returns number of bytes printed on success, aborts on OOM
- */
-#define virVasprintfQuiet(strp, fmt, list) virVasprintf(strp, fmt, list)
-
  int virStringSortCompare(const void *a, const void *b);
  int virStringSortRevCompare(const void *a, const void *b);
  int virStringToUpper(char **dst, const char *src);


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux