Fix my compiler warnings
This commit was SVN r974.
Этот коммит содержится в:
родитель
a57c85b31d
Коммит
a43db2dfd4
@ -16,7 +16,7 @@
|
||||
|
||||
/* private list functions */
|
||||
|
||||
#if RB_HASNT_FINISHED_THIS_YET
|
||||
#if ROB_HASNT_FINISHED_THIS_YET
|
||||
static lam_list_item_t *lam_free_lists_request_elt(lam_free_lists_t *flist,
|
||||
int pool_idx);
|
||||
#endif
|
||||
|
@ -796,7 +796,7 @@ static int split_shorts(lam_cmd_line_t *cmd, bool ignore_unknown)
|
||||
argc = 0;
|
||||
argv = NULL;
|
||||
changed = false;
|
||||
if (cmd->lcl_argv > 0) {
|
||||
if (cmd->lcl_argc > 0) {
|
||||
lam_argv_append(&argc, &argv, cmd->lcl_argv[0]);
|
||||
}
|
||||
for (i = 1; i < cmd->lcl_argc; ) {
|
||||
|
@ -470,9 +470,11 @@ static int do_open(int output_id, lam_output_stream_t *lds)
|
||||
|
||||
/* Setup the filename and open flags */
|
||||
|
||||
#if NEED_TO_IMPLEMENT_SESSION_DIRECTORY
|
||||
#if 0
|
||||
filename = lam_get_tmpdir();
|
||||
#else
|
||||
lam_output(0, "WARNING: need to implement session dir (%s, %d)\n",
|
||||
__FILE__, __LINE__);
|
||||
filename = malloc(256);
|
||||
strcpy(filename, "/tmp");
|
||||
#endif
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user