[PATCH 02/19] Remove redundant calls to fmt("%s", ...)

John Keeping john at keeping.me.uk
Sun Apr 7 13:25:43 CEST 2013


On Sun, Apr 07, 2013 at 01:05:40PM +0200, Jason A. Donenfeld wrote:
> On Sun, Apr 7, 2013 at 11:29 AM, John Keeping <john at keeping.me.uk> wrote:
> > -       ctx.page.filename = fmt("%s", path);
> > +       ctx.page.filename = "%s";
> 
> These aren't exactly equivalent. Is there something I'm missing here
> (I'm going through this patch set linearly.)?

That I was on autopilot at this stage and didn't check this thoroughly
enough :-(

Clearly it should be:

+	ctx.page.filename = path;




More information about the CGit mailing list