Skip to content
This repository

Remove a useless function declaration in src/redis.h #966

Open
wants to merge 1 commit into from

1 participant

Run
Run

hi, antirez,
In src/redis.h, line 1151, has the code:

void oom(const char *msg);

but I can't find its definition in redis' source code,
so, I remove this useless function declaration.

thanks

Run Remove a useless function declaration in src/redis.h
In src/redis.h, line 1151, has the code:

void oom(const char *msg);

but I can't find its definition in redis' source code,
so, I remove this useless function declaration.
6061934
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 24, 2013
Run Remove a useless function declaration in src/redis.h
In src/redis.h, line 1151, has the code:

void oom(const char *msg);

but I can't find its definition in redis' source code,
so, I remove this useless function declaration.
6061934
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  src/redis.h
1  src/redis.h
@@ -1151,7 +1151,6 @@ void redisLogFromHandler(int level, const char *msg);
1151 1151
 void usage();
1152 1152
 void updateDictResizePolicy(void);
1153 1153
 int htNeedsResize(dict *dict);
1154  
-void oom(const char *msg);
1155 1154
 void populateCommandTable(void);
1156 1155
 void resetCommandTableStats(void);
1157 1156
 
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.