Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OBITools3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
21
Issues
21
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
f5a17bea
Commit
f5a17bea
authored
Jul 26, 2020
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
C: added a missing error check
parent
e2850763
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
obidms.c
src/obidms.c
+6
-0
No files found.
src/obidms.c
View file @
f5a17bea
...
...
@@ -1659,6 +1659,12 @@ int obi_import_view(const char* dms_path_1, const char* dms_path_2, const char*
else
// Non-typed view
view_2
=
obi_new_view
(
dms_2
,
view_name_2
,
NULL
,
NULL
,
(
view_1
->
infos
)
->
comments
);
if
(
view_2
==
NULL
)
{
obidebug
(
1
,
"
\n
Error creating the new view to import a view in a DMS"
);
return
-
1
;
}
// Import line count
view_2
->
infos
->
line_count
=
view_1
->
infos
->
line_count
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment