libvirt/examples
Michal Privoznik 859aa405e1 domtop: Turn parse_argv into void
Currently, the function follows the usual pattern used in our code:

  int ret = -1;
  ...
  ret = 0;
 cleanup:
  return ret;

However, the function always call exit() on error, so the cleanup
label is never jumped onto. Therefore, it doesn't make any sense to
have the parse_argv function return an integer value, if it
effectively can return only value of zero.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-08-04 14:37:14 +02:00
..
apparmor Rework lxc apparmor profile 2014-07-15 12:57:05 -06:00
dominfo Indent top-level labels by one space in examples/ 2014-03-25 14:58:38 +01:00
dommigrate Add a new example to illustrate domain migration 2014-04-30 14:29:07 +01:00
domsuspend Indent top-level labels by one space in examples/ 2014-03-25 14:58:38 +01:00
domtop domtop: Turn parse_argv into void 2014-08-04 14:37:14 +02:00
hellolibvirt Indent top-level labels by one space in examples/ 2014-03-25 14:58:38 +01:00
lxcconvert virt-lxc-convert: make free return values in bytes 2014-07-07 12:37:23 +02:00
object-events maint: align whitespaces with project conventions. 2014-01-20 14:35:08 +01:00
openauth Indent top-level labels by one space in examples/ 2014-03-25 14:58:38 +01:00
systemtap maint: use LGPL correctly 2013-05-20 14:03:48 -06:00
xml build: only install nwfilter examples when building nwfilter 2013-09-04 13:48:27 -06:00