Skip to content

Commit

Permalink
mxmount: Remove unused variables
Browse files Browse the repository at this point in the history
DEFAULT_MOUNT_FS,FULLHOST,NONE,NULL are never used. Remove unused
variables.

Note, that SHORTHOST is currently used by /etc/mxmounts.
  • Loading branch information
donald committed Nov 19, 2018
1 parent b935396 commit 635eede
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mxmount/mxmount
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,11 @@ $fullhostname = hostname();

%D = ();
%V = (
DEFAULT_MOUNT_FS => '',
DEFAULT_MOUNT_OPTIONS => '',
DEFAULT_EXPORT_OPTIONS => '',
DEFAULT_MOUNT_PREFIX => '/',

SHORTHOST => $hostname,
FULLHOST => $fullhostname,

NONE => '',
NULL => ''
);

@lines = read_file($configfile);
Expand Down

0 comments on commit 635eede

Please sign in to comment.