mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
removed duplicated (and dangerous) call to close(2)
This commit is contained in:
parent
83a5eadcf8
commit
f05fe6a3fb
1 changed files with 0 additions and 1 deletions
|
|
@ -475,7 +475,6 @@ MotionFeedback::render_pixbuf (int size)
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
fd = g_file_open_tmp ("mfimgXXXXXX", &path, &error);
|
fd = g_file_open_tmp ("mfimgXXXXXX", &path, &error);
|
||||||
close (fd);
|
|
||||||
|
|
||||||
if(error) {
|
if(error) {
|
||||||
g_critical("failed to open a temporary file for writing: %s.", error->message);
|
g_critical("failed to open a temporary file for writing: %s.", error->message);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue