Skip to content

Commit c3d014c

Browse files
committed
remove these redundant assignments
1 parent 49b7789 commit c3d014c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

xdo.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,6 @@ int xdo_translate_window_with_sizehint(const xdo_t *xdo, Window window,
287287
height *= hints.height_inc;
288288
} else {
289289
fprintf(stderr, "No size hints found for window %ld\n", window);
290-
if (width_ret != NULL) {
291-
*width_ret = width;
292-
}
293-
if (height_ret != NULL) {
294-
*height_ret = width;
295-
}
296290
}
297291

298292
if (supplied_return & PBaseSize) {

0 commit comments

Comments
 (0)