Re: [dev] [surf] patch to remove resizing if small

From: Nick <>
Date: Mon, 11 Jun 2012 15:12:02 +0100

Quoth pancake:
> surf.c: In function ‘gotheaders’:
> surf.c:337:11: warning: variable ‘uri’ set but not used
> [-Wunused-but-set-variable]

Good spot. My gcc doesn't catch that, but you're right, it is
unused. I'm attaching a patch that removes use of that variable,
plus removes a couple of unused arguments from functions (found with

> surf.c: At top level:
> surf.c:800:1: warning: ‘eval’ defined but not used [-Wunused-function]

I think eval is probably useful to keep as a hook, though. For
config.h funkiness or something else someone wants to do. I don't
have strong feelings on the matter, though.


Received on Mon Jun 11 2012 - 16:12:02 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 11 2012 - 16:24:03 CEST