Commit 7d0ae176 authored by 's avatar
Browse files

fix warnings

git-svn-id: file:///home/svn/mapi/trunk@546 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 10b42ee0
......@@ -92,7 +92,7 @@ create_error_files: errors.mapi
# cat errors.mapi|grep "#" > mapi_errors.h
echo -e "#ifndef _MAPI_ERRORS_H_ \n#define _MAPI_ERRORS_H_\n" > mapi_errors.h
cat errors.mapi|grep "^#" >> mapi_errors.h
echo -e "\ntypedef struct foobar{ \nunsigned int err_no; \nchar *desc; \n} errorstruct; \n" >> mapi_errors.h
echo -e "\ntypedef struct foobar{ \nint err_no; \nchar *desc; \n} errorstruct; \n" >> mapi_errors.h
echo -e "#endif\n" >> mapi_errors.h
echo -e "#include \"mapi_errors.h\"\n\n const errorstruct Errors[] =\n{" > mapi_errors.c
......@@ -1879,7 +1879,7 @@ int mapi_loop(int fd, int fid, int cnt, mapi_handler callback){
* Very simple function. Just reads the last error that was set.
int mapi_read_error(int fd, int* err_no, char* errorstr)
int mapi_read_error(MAPI_UNUSED int fd, int* err_no, char* errorstr)
int i =0;
*err_no = local_err;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment