mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Remove unused uid field in virsh control structure.
* src/virsh.c: Remove unused uid field in virsh control structure.
This commit is contained in:
parent
fa8ddb744d
commit
ba5411995b
@ -1,3 +1,8 @@
|
|||||||
|
Thu Apr 10 18:33:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
|
||||||
|
|
||||||
|
Remove unused uid field in virsh control structure.
|
||||||
|
* src/virsh.c: Remove unused uid field in virsh control structure.
|
||||||
|
|
||||||
Thu Apr 10 18:54:03 CEST 2008 Jim Meyering <meyering@redhat.com>
|
Thu Apr 10 18:54:03 CEST 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
HACKING: New file: begin to describe contributor/coding guidelines
|
HACKING: New file: begin to describe contributor/coding guidelines
|
||||||
|
@ -206,9 +206,6 @@ typedef struct __vshControl {
|
|||||||
virConnectPtr conn; /* connection to hypervisor (MAY BE NULL) */
|
virConnectPtr conn; /* connection to hypervisor (MAY BE NULL) */
|
||||||
vshCmd *cmd; /* the current command */
|
vshCmd *cmd; /* the current command */
|
||||||
char *cmdstr; /* string with command */
|
char *cmdstr; /* string with command */
|
||||||
#ifndef __MINGW32__
|
|
||||||
uid_t uid; /* process owner */
|
|
||||||
#endif /* __MINGW32__ */
|
|
||||||
int imode; /* interactive mode? */
|
int imode; /* interactive mode? */
|
||||||
int quiet; /* quiet mode */
|
int quiet; /* quiet mode */
|
||||||
int debug; /* print debug messages? */
|
int debug; /* print debug messages? */
|
||||||
@ -6043,10 +6040,6 @@ vshInit(vshControl * ctl)
|
|||||||
if (ctl->conn)
|
if (ctl->conn)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
#ifndef __MINGW32__
|
|
||||||
ctl->uid = getuid();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
vshOpenLogFile(ctl);
|
vshOpenLogFile(ctl);
|
||||||
|
|
||||||
/* set up the library error handler */
|
/* set up the library error handler */
|
||||||
|
Loading…
Reference in New Issue
Block a user