Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(261)

Unified Diff: src/cmd/acme/wind.c

Issue 6744053: code review 6744053: fix gcc 4.7 warnings (thanks Tuncer Ayaz) (Closed)
Patch Set: diff -r 976dfae2ec9e https://code.google.com/p/plan9port Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/acme/rows.c ('k') | src/cmd/auth/dsagen.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/acme/wind.c
===================================================================
--- a/src/cmd/acme/wind.c
+++ b/src/cmd/acme/wind.c
@@ -181,7 +181,7 @@
int
winresize(Window *w, Rectangle r, int safe, int keepextra)
{
- int oy, y, mouseintag, mouseinbody, tagresized;
+ int oy, y, mouseintag, mouseinbody;
Point p;
Rectangle r1;
@@ -203,9 +203,7 @@
/* If needed, resize & redraw tag. */
y = r1.max.y;
- tagresized = 0;
if(!safe || !w->tagsafe || !eqrect(w->tag.all, r1)){
- tagresized = 1;
textresize(&w->tag, r1, TRUE);
y = w->tag.fr.r.max.y;
windrawbutton(w);
« no previous file with comments | « src/cmd/acme/rows.c ('k') | src/cmd/auth/dsagen.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b