chore: remove unused hashtable and dead code
Remove hashtable module and tests (unused in runtime). Remove unused variables mycolour, direction, output_scale_factor, and dead local p.
This commit is contained in:
@@ -30,7 +30,6 @@ struct wl_shm *shm;
|
||||
struct xdg_wm_base *xdg_shell;
|
||||
struct wl_seat *wl_seat;
|
||||
struct wl_output *wl_output = NULL;
|
||||
int output_scale_factor = 1;
|
||||
int output_width = 0;
|
||||
int output_height = 0;
|
||||
|
||||
@@ -95,7 +94,6 @@ static void output_mode_handler(void *data, struct wl_output *output, uint32_t f
|
||||
static void output_done_handler(void *data, struct wl_output *output) { (void)data;(void)output; }
|
||||
static void output_scale_handler(void *data, struct wl_output *output, int32_t factor) {
|
||||
(void)data;(void)output;
|
||||
output_scale_factor = factor;
|
||||
if (!fractional_manager) {
|
||||
if (factor > 0) current_scale = factor;
|
||||
need_resize = 1;
|
||||
@@ -502,8 +500,6 @@ int main(void)
|
||||
wl_display_disconnect(display);
|
||||
}
|
||||
|
||||
unsigned char mycolour = 0;
|
||||
char direction = 1;
|
||||
int framecounter = 0;
|
||||
|
||||
static void fill_rect(int x0, int y0, int w, int h, unsigned char r, unsigned char g, unsigned char b, unsigned char a) {
|
||||
|
||||
Reference in New Issue
Block a user