From 086a1c3a12772ed15224ddf53f250e97249f8df9 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Fri, 5 Dec 2008 22:50:49 -0700 Subject: [PATCH] remove double path init in drawCircleInRect: --- PBGitRevisionCell.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PBGitRevisionCell.m b/PBGitRevisionCell.m index 0d3ce9c..83bf906 100644 --- a/PBGitRevisionCell.m +++ b/PBGitRevisionCell.m @@ -65,8 +65,7 @@ NSRect oval = { columnOrigin.x - 5, columnOrigin.y + r.size.height * 0.5 - 5, 10, 10}; - NSBezierPath * path = [NSBezierPath bezierPath]; - path = [NSBezierPath bezierPathWithOvalInRect:oval]; + NSBezierPath * path = [NSBezierPath bezierPathWithOvalInRect:oval]; [[NSColor blackColor] set]; [path fill];