[Bugs] [Bug 1193929] GlusterFS can be improved

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 17 05:42:49 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1193929



--- Comment #79 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20483 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- tier: Move time string formatting

There is no need to format the time, unless ret is true.

I don't think there's a reason to allocate memory for
those struct and char array unless we are formatting
either (But I'm not sure what the code convention is - are we
ok with 'local' variable declarations?)

Only compile-tested.

Change-Id: I9feb09871943764bd76bdfc9ac6ca506f329aac1
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list