diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-04 11:14:32 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-04 11:14:32 +0000 |
commit | 534c8ca1eb8b4fa02a39696543ecaf52d00cb3d4 (patch) | |
tree | 8a60cbce554af1ad932bd50fa6efc8d7757e2e4f /jurt | |
parent | 6c3f8f455beee491b310eff4795f9f6bd7f88a66 (diff) |
INTEGRATION: CWS ooo20031216 (1.2.66); FILE MERGED
2003/12/25 12:47:01 waratah 1.2.66.1: #i1858# correct for some uninitialised variables
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c index 5b67da3b19da..5c70f279ae09 100644 --- a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c +++ b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c @@ -2,9 +2,9 @@ * * $RCSfile: com_sun_star_lib_connections_pipe_PipeConnection.c,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2003-03-26 12:33:03 $ + * last change: $Author: hr $ $Date: 2004-02-04 12:14:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -284,10 +284,10 @@ JNIEXPORT jint JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_rea }; short state = START; - oslPipe npipe; /* native pipe */ - void * nbuff; /* native read buffer */ - jbyteArray bytes; /* java read buffer */ - jint nread; /* number of bytes has been read */ + oslPipe npipe; /* native pipe */ + void * nbuff = NULL; /* native read buffer */ + jbyteArray bytes; /* java read buffer */ + jint nread; /* number of bytes has been read */ while (1) { @@ -371,10 +371,10 @@ JNIEXPORT void JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_wri }; short state = START; - oslPipe npipe; /* native pipe */ - long count; /* number of bytes has been written */ - jsize nwrite; /* number of bytes to write */ - jbyte * nbuff; /* native buffer */ + oslPipe npipe; /* native pipe */ + long count; /* number of bytes has been written */ + jsize nwrite; /* number of bytes to write */ + jbyte * nbuff = NULL; /* native buffer */ while (1) { |